]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cse.c
re PR rtl-optimization/34035 (ICE in calc_dfs_tree with -O2 -fnon-call-exceptions...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 12 Nov 2007 21:21:37 +0000 (22:21 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 12 Nov 2007 21:21:37 +0000 (21:21 +0000)
commit2aac3a017189eddb8740b0de66243765ed505e0a
tree4e90b09d7ebd094cdf433aeb27f13654901ad0ce
parentd51fba8ef2918636d8d51389297aa558b235d1ca
re PR rtl-optimization/34035 (ICE in calc_dfs_tree with -O2 -fnon-call-exceptions -ffast-math -fno-gcse)

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.

From-SVN: r130122
gcc/ChangeLog
gcc/cse.c
gcc/gcse.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/cfg5.C [new file with mode: 0644]