Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-60970

Compile Error in C++20 mode with GCC 11 if MONGO_COMPILER_NOINLINE is Used on Builder::_growReallocate()

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • None
    • Fully Compatible
    • Dev Platform 2021-11-15
    • 64

    Description

      benety.goh added this commit, which was based on the suggestions on the Evergreen job. However, it's not clear why this limitation exists. The Builder::_growReallocate() method should not be inlined in any of its call sites. Can you please check the reason and whether it's possible to keepĀ MONGO_COMPILER_NOINLINE on this method?

      Attachments

        Activity

          People

            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            mohammad.dashti@mongodb.com Mohammad Dashti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: