https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105627
Jakub Jelinek <jakub at gcc dot gnu.org> 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 <jakub at gcc dot gnu.org> --- This diverges in the swaps rs6000-specific pass. With: -Og -fcompare-debug pr105627.c -fdump-tree-all -da --param min-nondebug-insn-uid=10000 one can see: @@ -173,17 +173,17 @@ Relevant insns with their flag settings 10359 10355 store swappable special:store 10360 10356 store swappable special:store 10361 10357 store swappable special:store - 10363 0 load swap + 10363 10371 load swap 10364 10363 swap 10365 10363 swappable 10366 10363 swap 10367 10363 store swap - 10371 0 load swap + 10371 10379 load swap 10372 10371 swap 10373 10371 swappable 10374 10371 swap 10375 10371 store swap - 10379 0 load swap + 10379 10387 load swap 10380 10379 swap 10381 10379 swappable 10382 10379 swap ... @@ -456,18 +456,6 @@ deferring rescan insn with uid = 10415. Replacing store 10415 with permuted store deferring rescan insn with uid = 10416. Replacing store 10416 with permuted store -deferring rescan insn with uid = 10432. -deferring rescan insn with uid = 10432. -Replacing swap 10018 with copy 10432 -deferring deletion of insn with uid = 10018. -deferring rescan insn with uid = 10433. -deferring rescan insn with uid = 10433. -Replacing swap 10364 with copy 10433 -deferring deletion of insn with uid = 10364. -deferring rescan insn with uid = 10434. -deferring rescan insn with uid = 10434. -Replacing swap 10366 with copy 10434 -deferring deletion of insn with uid = 10366. starting the processing of deferred insns verify found no changes in insn with uid = 10354. verify found no changes in insn with uid = 10355. etc. changes. DEBUG_INSNs shouldn't influence optimization decisions, but of course might need to be adjusted or reset in some cases.