public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/110664] New: -std=c2x -pedantic-errors pedwarns on _Float128
@ 2023-07-14 11:09 jakub at gcc dot gnu.org
  2023-07-20 23:16 ` [Bug c/110664] " joseph at codesourcery dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-07-14 11:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110664
           Summary: -std=c2x -pedantic-errors pedwarns on _Float128
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

_Float128 f = 1.0F128;

gcc -S -std=c2x -o /dev/null test.c -pedantic-errors
test.c:1:1: error: ISO C does not support the ‘_Float128’ type [-Wpedantic]
    1 | _Float128 f = 1.0F128;
      | ^~~~~~~~~
test.c:1:1: error: non-standard suffix on floating constant [-Wpedantic]

doesn't seem right to me, shouldn't those pedwarns be skipped for flag_isoc2x?

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

end of thread, other threads:[~2023-09-06 15:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14 11:09 [Bug c/110664] New: -std=c2x -pedantic-errors pedwarns on _Float128 jakub at gcc dot gnu.org
2023-07-20 23:16 ` [Bug c/110664] " joseph at codesourcery dot com
2023-07-20 23:47 ` pinskia at gcc dot gnu.org
2023-09-06 14:56 ` jsm28 at gcc dot gnu.org
2023-09-06 15:16 ` jakub 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).