[ 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. -- Summary: Huge memory usage and infinite(?) loop with -fno- enforce-eh-specs Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22392