diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-10-22 02:17:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-10-22 02:17:55 +0000 |
commit | b09ac040340a8c1c4957184d355b4af8f3416498 (patch) | |
tree | 57e3c454dceb0ac4ced4fbcbf59daebc73c5e899 /4.1.1 | |
parent | add an env hack to prevent running of retry_ice code (diff) | |
download | gcc-patches-b09ac040340a8c1c4957184d355b4af8f3416498.tar.gz gcc-patches-b09ac040340a8c1c4957184d355b4af8f3416498.tar.bz2 gcc-patches-b09ac040340a8c1c4957184d355b4af8f3416498.zip |
fix from upstream for #128044
Diffstat (limited to '4.1.1')
-rw-r--r-- | 4.1.1/gentoo/28_all_gcc4-pr26969.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/4.1.1/gentoo/28_all_gcc4-pr26969.patch b/4.1.1/gentoo/28_all_gcc4-pr26969.patch new file mode 100644 index 0000000..f6091ed --- /dev/null +++ b/4.1.1/gentoo/28_all_gcc4-pr26969.patch @@ -0,0 +1,24 @@ +https://bugs.gentoo.org/128044 +http://gcc.gnu.org/PR26969 + +2006-10-19 Ira Rosen <irar@il.ibm.com> + + Backport from mainline: + 2006-08-07 Victor Kaplansky <victork@il.ibm.com> + + PR tree-optimization/26969 + * tree-vect-analyze.c (vect_analyze_loop_form): Add check of latch + with an empty list of PHIs. + +--- branches/gcc-4_1-branch/gcc/tree-vect-analyze.c 2006/10/19 09:19:21 117882 ++++ branches/gcc-4_1-branch/gcc/tree-vect-analyze.c 2006/10/19 11:18:25 117883 +@@ -1878,7 +1878,8 @@ + that the loop is represented as a do-while (with a proper if-guard + before the loop if needed), where the loop header contains all the + executable statements, and the latch is empty. */ +- if (!empty_block_p (loop->latch)) ++ if (!empty_block_p (loop->latch) ++ || phi_nodes (loop->latch)) + { + if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS)) + fprintf (vect_dump, "not vectorized: unexpected loop form."); |