https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109278
Bug ID: 109278 Summary: a note without a warning Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: diagnostic, needs-reduction Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- the attached unreduced testcase when compiled with -w -std=c++20, gives: t.cc: In static member function ‘static int __iseqsig_type<_Float128>::__call(_Float128, _Float128)’: t.cc:90092:36: note: initializing argument 1 of ‘int __iseqsigl(long double, long double)’ 90092 | extern int __iseqsigl (long double __x, long double __y) noexcept (true); | ~~~~~~~~~~~~^~~ t.cc:90092:53: note: initializing argument 2 of ‘int __iseqsigl(long double, long double)’ 90092 | extern int __iseqsigl (long double __x, long double __y) noexcept (true); | ~~~~~~~~~~~~^~~ Which is wrong as the warnings are supressed but still providing the note.