Summary: | [4.3 Regression] ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse | ||
---|---|---|---|
Product: | gcc | Reporter: | Janis Johnson <janis> |
Component: | rtl-optimization | Assignee: | Eric Botcazou <ebotcazou> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcc-bugs, pinskia |
Priority: | P3 | Keywords: | ice-on-valid-code |
Version: | 4.3.0 | ||
Target Milestone: | 4.3.0 | ||
URL: | http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00666.html | ||
Host: | Target: | powerpc*-linux | |
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2007-11-09 10:20:16 |
Description
Janis Johnson
2007-11-08 21:49:47 UTC
Interesting combination of options (-O2 is missing though). Investigating. The option list should have included -O2. This is one of the failures found by compiling SPEC CPU2000 with lots of sets of options and running with the test input, as described in http://gcc.gnu.org/ml/gcc/2007-09/msg00496.html. > The option list should have included -O2. This is one of the failures found
> compiling SPEC CPU2000 with lots of sets of options and running with the test
> input, as described in http://gcc.gnu.org/ml/gcc/2007-09/msg00496.html.
OK, thanks for explaining again. :-)
Subject: Bug 34035 Author: ebotcazou Date: Mon Nov 12 21:21:37 2007 New Revision: 130122 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130122 Log: PR rtl-optimization/34035 * cse.c (cse_cfg_altered): New global variable. (cse_jumps_altered): Make boolean. (recorded_label_ref): Likewise. (cse_insn): Adjust for above changes. (cse_extended_basic_block): Likewise. Set cse_cfg_altered if dead edges have been purged. (cse_main): Change return value specification and adjust code. (rest_of_handle_cse): Adjust for above change. (rest_of_handle_cse2): Likewise. * gcse.c (rest_of_handle_gcse): Likewise. Added: trunk/gcc/testsuite/g++.dg/opt/cfg5.C Modified: trunk/gcc/ChangeLog trunk/gcc/cse.c trunk/gcc/gcse.c trunk/gcc/testsuite/ChangeLog This should work now. The fix increases compile time, please reconsider. The bug is nevertheless fixed. |