https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28614
--- Comment #9 from rguenther at suse dot de <rguenther at suse dot de> --- On Fri, 4 Oct 2024, tschwinge at gcc dot gnu.org wrote: > 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'. So does it actually spend the time in dom_oracle? I would guess the change leaves around more of the redundant compare-and-jumps in the testcase so we hit a problem later?