diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-07-21 05:56:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-07-21 05:56:38 +0000 |
commit | 5c0b027bdb04c827cd57050489e8ddc814676b4a (patch) | |
tree | 97b27ba08f0b3b8f0860670da33885290c6c920a /4.2.0 | |
parent | tag 1.3 patchset (diff) | |
download | gcc-patches-5c0b027bdb04c827cd57050489e8ddc814676b4a.tar.gz gcc-patches-5c0b027bdb04c827cd57050489e8ddc814676b4a.tar.bz2 gcc-patches-5c0b027bdb04c827cd57050489e8ddc814676b4a.zip |
tag 1.4 patchset
Diffstat (limited to '4.2.0')
-rw-r--r-- | 4.2.0/gentoo/43_all_gcc42-PR32500.patch | 23 | ||||
-rw-r--r-- | 4.2.0/gentoo/README.history | 3 |
2 files changed, 26 insertions, 0 deletions
diff --git a/4.2.0/gentoo/43_all_gcc42-PR32500.patch b/4.2.0/gentoo/43_all_gcc42-PR32500.patch new file mode 100644 index 0000000..1a0d424 --- /dev/null +++ b/4.2.0/gentoo/43_all_gcc42-PR32500.patch @@ -0,0 +1,23 @@ +http://gcc.gnu.org/PR32500 + +2007-07-04 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/32500 + * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): + Only use basic blocks that are always executed to infer loop bounds. + +--- branches/gcc-4_2-branch/gcc/tree-ssa-loop-niter.c 2007/07/04 11:44:58 126314 ++++ branches/gcc-4_2-branch/gcc/tree-ssa-loop-niter.c 2007/07/04 12:38:23 126315 +@@ -1747,6 +1747,12 @@ + { + bb = bbs[i]; + ++ /* If BB is not executed in each iteration of the loop, we cannot ++ use the operations in it to infer reliable upper bound on the ++ # of iterations of the loop. */ ++ if (!dominated_by_p (CDI_DOMINATORS, loop->latch, bb)) ++ continue; ++ + for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi)) + { + tree stmt = bsi_stmt (bsi); diff --git a/4.2.0/gentoo/README.history b/4.2.0/gentoo/README.history index b50472b..5a1407b 100644 --- a/4.2.0/gentoo/README.history +++ b/4.2.0/gentoo/README.history @@ -1,3 +1,6 @@ +1.4 10.07.2007 + + 43_all_gcc42-PR32500.patch + 1.3 21.06.2007 + 41_all_gcc42-PR32389.patch + 42_all_gcc42-PR30252.patch |