[ forwarded from http://bugs.debian.org/317563 ] The test case chews up 789m of memory and then doesn't seem to progress for at least 10 minutes with -O2 -fno-enforce-eh-specs. Functions showing up prominently in a profile are: samples % symbol name 34188 22.3480 bitmap_set_bit 18170 11.8774 free_deps 17475 11.4231 sched_analyze_insn 14018 9.1633 alloc_INSN_LIST 10173 6.6499 free_list 6100 3.9874 free_INSN_LIST_list 3946 2.5794 bitmap_bit_p 2442 1.5963 build_tree_conflict_graph With just -O2, it finishes in 1:09 minute using 341m. With g++ 4.1, it finishes in 1:21 using 148m even with -fno-enforce-eh-specs. g++-3.4 doesn't like this test case. This is on alphaev68-linux. The original report was on powerpc.
Created attachment 9237 [details] Test case
This is the scheduler messing up which is normal with big BBs.
I think this is the same bug as PR 20826.
Not a problem in 4.1 anymore, so let's close it.