public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug debug/104050] New: [12 Regression] [coroutines] '-fcompare-debug' failure w/ -std=c++20 -O1 @ 2022-01-16 14:36 asolokha at gmx dot com 2022-01-17 8:36 ` [Bug debug/104050] " rguenth at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: asolokha at gmx dot com @ 2022-01-16 14:36 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104050 Bug ID: 104050 Summary: [12 Regression] [coroutines] '-fcompare-debug' failure w/ -std=c++20 -O1 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Created attachment 52206 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52206&action=edit Testcase g++ 12.0.0 20220109 snapshot (g:49d73c9fb644673323845efebfe6b3106e70af8a) fails -fcompare-debug check when compiling the attached testcase, partially reduced from gcc/testsuite/g++.dg/coroutines/pr94288.C, w/ -std=c++20 -O1: % g++-12.0.0 -std=c++20 -O1 -fcompare-debug -save-temps -c mfytqxkl.cc g++-12.0.0: error: mfytqxkl.cc: '-fcompare-debug' failure --- mfytqxkl.cc.gkd 2022-01-16 21:34:28.236246664 +0700 +++ mfytqxkl.gk.cc.gkd 2022-01-16 21:34:29.276177012 +0700 @@ -297,7 +297,7 @@ 0: short unsigned int _Coro_resume_index; 36: bool _Coro_frame_needs_free; 5: bool _Coro_initial_await_resume_called; -20: struct vector D.30656_1_2; +20: struct vector D.30658_1_2; 9: struct task Aw0_1_2; 28: struct final_awaitable Fs_1_3; 17: struct coroutine_handle _Coro_actor_continue; ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/104050] [12 Regression] [coroutines] '-fcompare-debug' failure w/ -std=c++20 -O1 2022-01-16 14:36 [Bug debug/104050] New: [12 Regression] [coroutines] '-fcompare-debug' failure w/ -std=c++20 -O1 asolokha at gmx dot com @ 2022-01-17 8:36 ` rguenth at gcc dot gnu.org 2022-01-17 10:41 ` [Bug debug/104050] " marxin at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-01-17 8:36 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104050 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |12.0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/104050] '-fcompare-debug' failure w/ -std=c++20 -O1 2022-01-16 14:36 [Bug debug/104050] New: [12 Regression] [coroutines] '-fcompare-debug' failure w/ -std=c++20 -O1 asolokha at gmx dot com 2022-01-17 8:36 ` [Bug debug/104050] " rguenth at gcc dot gnu.org @ 2022-01-17 10:41 ` marxin at gcc dot gnu.org 2022-04-18 14:50 ` iains at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: marxin at gcc dot gnu.org @ 2022-01-17 10:41 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104050 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[12 Regression] |'-fcompare-debug' failure |[coroutines] |w/ -std=c++20 -O1 |'-fcompare-debug' failure | |w/ -std=c++20 -O1 | Ever confirmed|0 |1 CC| |iains at gcc dot gnu.org, | |marxin at gcc dot gnu.org Last reconfirmed| |2022-01-17 Status|UNCONFIRMED |NEW --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Confirmed. Interesting that one needs -save-temps. Likely started with GCC 11. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/104050] '-fcompare-debug' failure w/ -std=c++20 -O1 2022-01-16 14:36 [Bug debug/104050] New: [12 Regression] [coroutines] '-fcompare-debug' failure w/ -std=c++20 -O1 asolokha at gmx dot com 2022-01-17 8:36 ` [Bug debug/104050] " rguenth at gcc dot gnu.org 2022-01-17 10:41 ` [Bug debug/104050] " marxin at gcc dot gnu.org @ 2022-04-18 14:50 ` iains at gcc dot gnu.org 2022-05-06 8:32 ` jakub at gcc dot gnu.org 2023-05-08 12:23 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: iains at gcc dot gnu.org @ 2022-04-18 14:50 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104050 --- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Martin Liška from comment #1) > Confirmed. Interesting that one needs -save-temps. Likely started with GCC > 11. I compared the simple from the FE with -save-temps (FAILS) and without (OK) the only difference between the two cases is that the temporary numbers are different by two (the numbers are +2 for the case without save temps). That is the same as the difference shown in the report - but not sure how to analyse that further right now ... ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/104050] '-fcompare-debug' failure w/ -std=c++20 -O1 2022-01-16 14:36 [Bug debug/104050] New: [12 Regression] [coroutines] '-fcompare-debug' failure w/ -std=c++20 -O1 asolokha at gmx dot com ` (2 preceding siblings ...) 2022-04-18 14:50 ` iains at gcc dot gnu.org @ 2022-05-06 8:32 ` jakub at gcc dot gnu.org 2023-05-08 12:23 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jakub at gcc dot gnu.org @ 2022-05-06 8:32 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104050 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|12.0 |12.2 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- GCC 12.1 is being released, retargeting bugs to GCC 12.2. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug debug/104050] '-fcompare-debug' failure w/ -std=c++20 -O1 2022-01-16 14:36 [Bug debug/104050] New: [12 Regression] [coroutines] '-fcompare-debug' failure w/ -std=c++20 -O1 asolokha at gmx dot com ` (3 preceding siblings ...) 2022-05-06 8:32 ` jakub at gcc dot gnu.org @ 2023-05-08 12:23 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2023-05-08 12:23 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104050 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|12.3 |12.4 --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC 12.3 is being released, retargeting bugs to GCC 12.4. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-05-08 12:23 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-01-16 14:36 [Bug debug/104050] New: [12 Regression] [coroutines] '-fcompare-debug' failure w/ -std=c++20 -O1 asolokha at gmx dot com 2022-01-17 8:36 ` [Bug debug/104050] " rguenth at gcc dot gnu.org 2022-01-17 10:41 ` [Bug debug/104050] " marxin at gcc dot gnu.org 2022-04-18 14:50 ` iains at gcc dot gnu.org 2022-05-06 8:32 ` jakub at gcc dot gnu.org 2023-05-08 12:23 ` rguenth 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).