From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 74F603839C4D; Wed, 18 May 2022 14:53:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74F603839C4D From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/105627] -fcompare-debug failure at -Og for powerpc64le-unknown-linux-gnu Date: Wed, 18 May 2022 14:53:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: compare-debug-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cf_reconfirmed_on bug_status cc everconfirmed Message-ID: In-Reply-To: References: 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: Wed, 18 May 2022 14:53:51 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105627 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-05-18 Status|UNCONFIRMED |NEW CC| |jakub at gcc dot gnu.org, | |linkw at gcc dot gnu.org, | |segher at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- This diverges in the swaps rs6000-specific pass. With: -Og -fcompare-debug pr105627.c -fdump-tree-all -da --param min-nondebug-insn-uid=3D10000 one can see: @@ -173,17 +173,17 @@ Relevant insns with their flag settings 10359 10355 store swappable special:store=20 10360 10356 store swappable special:store=20 10361 10357 store swappable special:store=20 - 10363 0 load swap=20 + 10363 10371 load swap=20 10364 10363 swap=20 10365 10363 swappable=20 10366 10363 swap=20 10367 10363 store swap=20 - 10371 0 load swap=20 + 10371 10379 load swap=20 10372 10371 swap=20 10373 10371 swappable=20 10374 10371 swap=20 10375 10371 store swap=20 - 10379 0 load swap=20 + 10379 10387 load swap=20 10380 10379 swap=20 10381 10379 swappable=20 10382 10379 swap=20 ... @@ -456,18 +456,6 @@ deferring rescan insn with uid =3D 10415. Replacing store 10415 with permuted store deferring rescan insn with uid =3D 10416. Replacing store 10416 with permuted store -deferring rescan insn with uid =3D 10432. -deferring rescan insn with uid =3D 10432. -Replacing swap 10018 with copy 10432 -deferring deletion of insn with uid =3D 10018. -deferring rescan insn with uid =3D 10433. -deferring rescan insn with uid =3D 10433. -Replacing swap 10364 with copy 10433 -deferring deletion of insn with uid =3D 10364. -deferring rescan insn with uid =3D 10434. -deferring rescan insn with uid =3D 10434. -Replacing swap 10366 with copy 10434 -deferring deletion of insn with uid =3D 10366. starting the processing of deferred insns verify found no changes in insn with uid =3D 10354. verify found no changes in insn with uid =3D 10355. etc. changes. DEBUG_INSNs shouldn't influence optimization decisions, but = of course might need to be adjusted or reset in some cases.=