public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/108015] New: [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux
@ 2022-12-07 23:10 jakub at gcc dot gnu.org
2022-12-07 23:10 ` [Bug libstdc++/108015] " jakub at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-12-07 23:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108015
Bug ID: 108015
Summary: [13 Regression]
17_intro/headers/c++2011/stdc++_multiple_inclusion.cc
failure on i686-linux
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
Target Milestone: ---
I'm seeing
FAIL: 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc (test for excess
errors)
Excess errors:
/home/jakub/src/gcc/obj45/i686-pc-linux-gnu/libstdc++-v3/include/chrono:2436:
warning: missing terminating ' character
This is about
&& (ratio_greater_equal_v<_Period, ratio<1, 4'000'000'000>>
line, which is surely in a section guarded with
#if __cplusplus >= 202002L
...
#endif
This boils down to:
#if __cplusplus >= 202002L
int a = 4'000'000'000;
#endif
int b = 42;
which also warns when preprocessed or compiled with -std=c++11, the
preprocessor
tokenizes even skipped tokens.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/108015] [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux
2022-12-07 23:10 [Bug libstdc++/108015] New: [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux jakub at gcc dot gnu.org
@ 2022-12-07 23:10 ` jakub at gcc dot gnu.org
2022-12-07 23:13 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-12-07 23:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108015
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Target Milestone|--- |13.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/108015] [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux
2022-12-07 23:10 [Bug libstdc++/108015] New: [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux jakub at gcc dot gnu.org
2022-12-07 23:10 ` [Bug libstdc++/108015] " jakub at gcc dot gnu.org
@ 2022-12-07 23:13 ` pinskia at gcc dot gnu.org
2022-12-08 10:07 ` redi at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-07 23:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108015
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Funny I was just looking at the preprocessor PR about tokenizing even inside
`#if 0` yesterday too.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/108015] [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux
2022-12-07 23:10 [Bug libstdc++/108015] New: [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux jakub at gcc dot gnu.org
2022-12-07 23:10 ` [Bug libstdc++/108015] " jakub at gcc dot gnu.org
2022-12-07 23:13 ` pinskia at gcc dot gnu.org
@ 2022-12-08 10:07 ` redi at gcc dot gnu.org
2022-12-08 12:16 ` redi at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2022-12-08 10:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108015
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2022-12-08
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/108015] [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux
2022-12-07 23:10 [Bug libstdc++/108015] New: [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux jakub at gcc dot gnu.org
` (2 preceding siblings ...)
2022-12-08 10:07 ` redi at gcc dot gnu.org
@ 2022-12-08 12:16 ` redi at gcc dot gnu.org
2022-12-09 0:35 ` cvs-commit at gcc dot gnu.org
2022-12-09 0:37 ` redi at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2022-12-08 12:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108015
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Warning about this is stupid. We tokenized it successfully, complaining that we
couldn't is unhelpful. Clang and EDG do not warn.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/108015] [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux
2022-12-07 23:10 [Bug libstdc++/108015] New: [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux jakub at gcc dot gnu.org
` (3 preceding siblings ...)
2022-12-08 12:16 ` redi at gcc dot gnu.org
@ 2022-12-09 0:35 ` cvs-commit at gcc dot gnu.org
2022-12-09 0:37 ` redi at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-12-09 0:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108015
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:d61c0357ebc771166d5d48743f80aa339b4183dc
commit r13-4574-gd61c0357ebc771166d5d48743f80aa339b4183dc
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Dec 8 11:55:31 2022 +0000
libstdc++: Remove digit separators [PR108015]
These are not valid in C++11 and cause a warning when preprocessing,
even though they're inside a skipped group.
chrono:2436: warning: missing terminating ' character
libstdc++-v3/ChangeLog:
PR libstdc++/108015
* include/std/chrono (hh_mm_ss): Remove digit separators.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/108015] [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux
2022-12-07 23:10 [Bug libstdc++/108015] New: [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux jakub at gcc dot gnu.org
` (4 preceding siblings ...)
2022-12-09 0:35 ` cvs-commit at gcc dot gnu.org
@ 2022-12-09 0:37 ` redi at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2022-12-09 0:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108015
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Should be fixed now.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-12-09 0:37 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-07 23:10 [Bug libstdc++/108015] New: [13 Regression] 17_intro/headers/c++2011/stdc++_multiple_inclusion.cc failure on i686-linux jakub at gcc dot gnu.org
2022-12-07 23:10 ` [Bug libstdc++/108015] " jakub at gcc dot gnu.org
2022-12-07 23:13 ` pinskia at gcc dot gnu.org
2022-12-08 10:07 ` redi at gcc dot gnu.org
2022-12-08 12:16 ` redi at gcc dot gnu.org
2022-12-09 0:35 ` cvs-commit at gcc dot gnu.org
2022-12-09 0:37 ` redi 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).