https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28614
--- Comment #8 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- (In reply to myself from comment #7) > for '--target=amdgcn-amdhsa' (tested '-march=gfx908', '-march=gfx1100'; > with '--enable-checking=yes,extra,rtl') -- but for '-O1' only: > > PASS: gcc.c-torture/compile/20001226-1.c -O0 (test for excess errors) > {+WARNING: gcc.c-torture/compile/20001226-1.c -O1 (test for excess > errors) program timed out.+} > [-PASS:-]{+FAIL:+} gcc.c-torture/compile/20001226-1.c -O1 (test for > excess errors) > PASS: gcc.c-torture/compile/20001226-1.c -O2 (test for excess errors) > PASS: gcc.c-torture/compile/20001226-1.c -O3 -g (test for excess > errors) > PASS: gcc.c-torture/compile/20001226-1.c -Os (test for excess errors) > $ \time [...] -O1 [...] > [manually terminated after 19.75 h 100 % CPU usage] > xgcc: fatal error: Terminated signal terminated program cc1 > compilation terminated. > Command exited with non-zero status 1 Per 'git bisect', this is due to PR114855 commit r15-3896-g942bbb2357656019caa3f8ebd2d23b09222f039a "tree-optimization/114855 - speed up dom_oracle::register_transitives". > I've not further analyzed where the time is being spent in 'cc1'. > At 2024-09-20's commit r15-3743-g2828ec526eaf5612178b62d48bfd8443c7ecd674 we > had, for example [...] 10 s for '-O1'.