From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7FD423858D28; Thu, 28 Apr 2022 02:43:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7FD423858D28 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/105415] New: [10/11/12 Regression] '-fcompare-debug' failure w/ -O2 -ftree-parallelize-loops=2 Date: Thu, 28 Apr 2022 02:43:28 +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: compare-debug-failure 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget 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: Thu, 28 Apr 2022 02:43:28 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105415 Bug ID: 105415 Summary: [10/11/12 Regression] '-fcompare-debug' failure w/ -O2 -ftree-parallelize-loops=3D2 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: compare-debug-failure Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: aarch64-linux-gnu gcc 12.0.1 20220424 snapshot (g:6b7441a46c771aa6ecdc0c8ed96197417d036b9a) f= ails -fcompare-debug check when compiling the following testcase w/ -O2 -ftree-parallelize-loops=3D2: int m; static int n; void foo (void) { int s =3D 0; while (m < 1) { s +=3D n; ++m; } } void bar (int *arr, int i) { while (i < 1) arr[i++] =3D 1; } % aarch64-linux-gnu-gcc-12.0.1 -O2 -fcompare-debug -ftree-parallelize-loops= =3D2 -c plkjnne3.c aarch64-linux-gnu-gcc-12.0.1: error: plkjnne3.c: '-fcompare-debug' failure --- plkjnne3.c.gkd 2022-04-28 09:43:03.113041561 +0700 +++ plkjnne3.gk.c.gkd 2022-04-28 09:43:03.148041580 +0700 @@ -388,7 +388,7 @@ 1: int i; 2: signed int D.xxxx; -;; Function bar._loopfn.0 (bar._loopfn.0, funcdef_no=3D2, cgraph_uid=3D3, symbol_order=3D4) +;; Function bar._loopfn.0 (bar._loopfn.0, funcdef_no=3D2, cgraph_uid=3D3, symbol_order=3D5) (note # 0 0 NOTE_INSN_DELETED) (note # 0 0 [bb 2] NOTE_INSN_BASIC_BLOCK)=