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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |15.0
         Resolution|---                         |FIXED
   Last reconfirmed|                            |2025-5-29

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed by r15-3532:

  c++: exception spec and stdlib specialization
  We were silently accepting the pr65923.C specialization of std::swap with
  the wrong exception specification; it should be declared noexcept.  Let's
  limit ignoring mismatch with system headers to extern "C" functions so we
  get a diagnostic for the C++ library.

Reply via email to