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
* [Bug c/110664] -std=c2x -pedantic-errors pedwarns on _Float128
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 ` joseph at codesourcery dot com
2023-07-20 23:47 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: joseph at codesourcery dot com @ 2023-07-20 23:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110664
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Yes, this would be a bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/110664] -std=c2x -pedantic-errors pedwarns on _Float128
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
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-20 23:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110664
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic, rejects-valid
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2023-07-20
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/110664] -std=c2x -pedantic-errors pedwarns on _Float128
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
3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2023-09-06 14:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110664
Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |14.0
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Joseph S. Myers <jsm28 at gcc dot gnu.org> ---
Fixed by
commit r14-3731-g80acabb6dd05090db67805cdd358fe974b45e2ed
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Sep 6 08:51:00 2023 +0200
c: Don't pedwarn on _FloatN{,x} or {f,F}N{,x} suffixes for C2X
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/110664] -std=c2x -pedantic-errors pedwarns on _Float128
2023-07-14 11:09 [Bug c/110664] New: -std=c2x -pedantic-errors pedwarns on _Float128 jakub at gcc dot gnu.org
` (2 preceding siblings ...)
2023-09-06 14:56 ` jsm28 at gcc dot gnu.org
@ 2023-09-06 15:16 ` jakub at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-09-06 15:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110664
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Oops, sorry, failed to find this PR when writing the patch.
^ 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).