aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>2003-07-24 22:59:29 +0200
committerZdenek Dvorak <rakdver@gcc.gnu.org>2003-07-24 20:59:29 +0000
commit2a868ea448b0730a00817462c13182b1c1d52c22 (patch)
tree1c894810c9ea7b15bd4058dae1622ef262cd34a4 /gcc/gcse.c
parentde7df9ebdc66ea3a978327f5a039d939a9523a72 (diff)
downloadgcc-2a868ea448b0730a00817462c13182b1c1d52c22.zip
gcc-2a868ea448b0730a00817462c13182b1c1d52c22.tar.gz
gcc-2a868ea448b0730a00817462c13182b1c1d52c22.tar.bz2
re PR rtl-optimization/11631 (zsh miscompilation)
PR optimization/11631 * gcse.c (store_motion): Connect infinite loops to exit. From-SVN: r69759
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 7be71d9..9d15405 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -7652,6 +7652,7 @@ store_motion (void)
/* Now compute kill & transp vectors. */
build_store_vectors ();
add_noreturn_fake_exit_edges ();
+ connect_infinite_loops_to_exit ();
edge_list = pre_edge_rev_lcm (gcse_file, num_stores, transp, ae_gen,
st_antloc, ae_kill, &pre_insert_map,