https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107832
Bug ID: 107832 Summary: '-fcompare-debug' failure w/ -O2 -ftree-parallelize-loops=2 -fno-gcse-lm Product: gcc Version: 13.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 Created attachment 53951 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53951&action=edit Testcase gcc 13.0.0 20221120 snapshot (g:a16a5460447eaaff0b4468064e4d7b1cc8fc42eb) fails -fcompare-debug when compiling the attached testcase w/ -O2 -ftree-parallelize-loops=2 -fno-gcse-lm: % aarch64-linux-gnu-gfortran-13 -O2 -fcompare-debug -ftree-parallelize-loops=2 -fno-gcse-lm -c ebqijrx1.f90 aarch64-linux-gnu-gfortran-13: error: ebqijrx1.f90: '-fcompare-debug' failure --- ebqijrx1.f90.gkd 2022-11-23 18:26:10.937790540 +0700 +++ ebqijrx1.gk.f90.gkd 2022-11-23 18:26:10.986790649 +0700 @@ -1111,7 +1111,7 @@ 4: integer(kind=8) D.xxxx; 5: integer(kind=8) D.xxxx; -;; Function main._loopfn.0 (main._loopfn.0, funcdef_no=6, cgraph_uid=13, symbol_order=19) +;; Function main._loopfn.0 (main._loopfn.0, funcdef_no=6, cgraph_uid=13, symbol_order=20) (note # 0 0 NOTE_INSN_DELETED) (note # 0 0 [bb 2] NOTE_INSN_BASIC_BLOCK)