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

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).