public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/109278] New: a note without a warning
@ 2023-03-24 20:57 pinskia at gcc dot gnu.org
  2023-03-24 20:57 ` [Bug c++/109278] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-03-24 20:57 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-04-26  8:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-24 20:57 [Bug c++/109278] New: a note without a warning pinskia at gcc dot gnu.org
2023-03-24 20:57 ` [Bug c++/109278] " pinskia at gcc dot gnu.org
2023-03-24 21:01 ` pinskia at gcc dot gnu.org
2023-03-24 21:34 ` jakub at gcc dot gnu.org
2023-03-24 21:42 ` jakub at gcc dot gnu.org
2023-03-30  7:35 ` cvs-commit at gcc dot gnu.org
2023-03-30  7:37 ` jakub at gcc dot gnu.org
2023-04-25 12:42 ` cvs-commit at gcc dot gnu.org
2023-04-26  8:37 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).