summaryrefslogtreecommitdiff
path: root/gcc/cprop.c
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@gmail.com>2011-07-12 11:46:10 -0700
committerAndrew Pinski <pinskia@gcc.gnu.org>2011-07-12 11:46:10 -0700
commit10b75750f251ad6a5cdeb505f51ddc4638d81e14 (patch)
treeb6aaa0b34d8aa4cfcc78d2a0b9f334d368d08d62 /gcc/cprop.c
parent4f42d714a265f15349dc745ff59a49b4c0a5b6c3 (diff)
downloadgcc-10b75750f251ad6a5cdeb505f51ddc4638d81e14.tar.gz
re PR rtl-optimization/49474 (ppc ICEs with -O3 (bootstrapping with -O3 and --disable-checking))
2011-07-12 Andrew Pinski <pinskia@gmail.com> PR rtl-opt/49474 * cprop.c (find_implicit_sets): Correct the condition. 2011-07-12 Andrew Pinski <pinskia@gmail.com> PR rtl-opt/49474 * gcc.c-torture/compile/pr49474.c: New testcase. From-SVN: r176213
Diffstat (limited to 'gcc/cprop.c')
-rw-r--r--gcc/cprop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cprop.c b/gcc/cprop.c
index 83193b9d6b4..584ffd202ba 100644
--- a/gcc/cprop.c
+++ b/gcc/cprop.c
@@ -1332,7 +1332,7 @@ find_implicit_sets (void)
FOR_EACH_BB (bb)
{
/* Check for more than one successor. */
- if (! EDGE_COUNT (bb->succs) > 1)
+ if (EDGE_COUNT (bb->succs) <= 1)
continue;
cond = fis_get_condition (BB_END (bb));