From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C9E113858D3C; Sun, 16 Jan 2022 14:36:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C9E113858D3C From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/104050] New: [12 Regression] [coroutines] '-fcompare-debug' failure w/ -std=c++20 -O1 Date: Sun, 16 Jan 2022 14:36:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2022 14:36:03 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104050 Bug ID: 104050 Summary: [12 Regression] [coroutines] '-fcompare-debug' failure w/ -std=3Dc++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=3D52206&action=3Dedit Testcase g++ 12.0.0 20220109 snapshot (g:49d73c9fb644673323845efebfe6b3106e70af8a) f= ails -fcompare-debug check when compiling the attached testcase, partially reduc= ed from gcc/testsuite/g++.dg/coroutines/pr94288.C, w/ -std=3Dc++20 -O1: % g++-12.0.0 -std=3Dc++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;=