https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126327

            Bug ID: 126327
           Summary: [17 regression] Build fails for *-w64-mingw32 due to
                    exception specification mismatch
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Nathan.Blackburn at arm dot com
  Target Milestone: ---

The patch below introduces a regression for the *-w64-mingw32 target:

https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=53efe2f8d66bb6344d084ca731cdec56873c62a0

gcc/libstdc++-v3/src/c++20/string-inst.cc:40:45: error: exception specification
'noexcept' in explicit instantiation does not match the instantiated one
'noexcept (false)'
   40 | template basic_string<char>::basic_string() noexcept;
      |                                             ^~~~~~~~

Reply via email to