diff options
author | Ryan Hill <rhill@gentoo.org> | 2010-11-29 20:35:00 +0000 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2010-11-29 20:35:00 +0000 |
commit | c20fda187650fe9b424ac08d8b0b1d33c83eeaf2 (patch) | |
tree | 5498a8204df565cb1d2ff05e8001e8f6e1e8cc81 /4.5.1 | |
parent | ...and release. (diff) | |
download | gcc-patches-c20fda187650fe9b424ac08d8b0b1d33c83eeaf2.tar.gz gcc-patches-c20fda187650fe9b424ac08d8b0b1d33c83eeaf2.tar.bz2 gcc-patches-c20fda187650fe9b424ac08d8b0b1d33c83eeaf2.zip |
Update graphite patch for bug #346445.
Diffstat (limited to '4.5.1')
-rw-r--r-- | 4.5.1/gentoo/90_all_gcc-4.5-graphite-ICE.patch | 12 | ||||
-rw-r--r-- | 4.5.1/gentoo/README.history | 3 |
2 files changed, 10 insertions, 5 deletions
diff --git a/4.5.1/gentoo/90_all_gcc-4.5-graphite-ICE.patch b/4.5.1/gentoo/90_all_gcc-4.5-graphite-ICE.patch index 1f0a89a..be8e245 100644 --- a/4.5.1/gentoo/90_all_gcc-4.5-graphite-ICE.patch +++ b/4.5.1/gentoo/90_all_gcc-4.5-graphite-ICE.patch @@ -1,11 +1,13 @@ Fixed in 4.5.2. https://bugs.gentoo.org/345861 +https://bugs.gentoo.org/346445 http://gcc.gnu.org/PR45314 +http://gcc.gnu.org/PR46651 --- a/gcc/graphite-sese-to-poly.c +++ b/gcc/graphite-sese-to-poly.c -@@ -2231,58 +2231,14 @@ rewrite_phi_out_of_ssa (gimple_stmt_iterator *psi) +@@ -2231,58 +2231,15 @@ rewrite_phi_out_of_ssa (gimple_stmt_iterator *psi) for (i = 0; i < gimple_phi_num_args (phi); i++) { tree arg = gimple_phi_arg_def (phi, i); @@ -51,7 +53,9 @@ http://gcc.gnu.org/PR45314 - | end_2 - | end_1 - */ -- if (TREE_CODE (arg) == SSA_NAME ++ /* Avoid the insertion of code in the loop latch to please the ++ pattern matching of the vectorizer. */ + if (TREE_CODE (arg) == SSA_NAME - && is_gimple_reg (arg) - && gimple_bb (SSA_NAME_DEF_STMT (arg)) - && (flow_bb_inside_loop_p (bb->loop_father, @@ -59,9 +63,7 @@ http://gcc.gnu.org/PR45314 - || flow_bb_inside_loop_p (loop_outer (bb->loop_father), - gimple_bb (SSA_NAME_DEF_STMT (arg))))) - insert_out_of_ssa_copy (zero_dim_array, arg); -+ /* Avoid the insertion of code in the loop latch to please the -+ pattern matching of the vectorizer. */ -+ if (e->src == bb->loop_father->latch) ++ && e->src == bb->loop_father->latch) + insert_out_of_ssa_copy (zero_dim_array, arg); else - insert_out_of_ssa_copy_on_edge (gimple_phi_arg_edge (phi, i), diff --git a/4.5.1/gentoo/README.history b/4.5.1/gentoo/README.history index 17125a8..ef788f6 100644 --- a/4.5.1/gentoo/README.history +++ b/4.5.1/gentoo/README.history @@ -1,3 +1,6 @@ +1.4 29.11.2010 + U 90_all_gcc-4.5-graphite-ICE.patch + 1.3 19.11.2010 + 20_all_gcc-4.5-fno-strict-overflow.patch + 49_all_gcc-4.5-pr46491-kernel-miscompile.patch |