aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@gcc.gnu.org>2012-12-12 09:32:40 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2012-12-12 09:32:40 +0000
commit4e74424074a80791ef6ba223d56b1af3f9ac4439 (patch)
tree308b56cd5cb84fc3d784f6769d7a914b936a2cb9
parentcbcc22fa317c351c2210d70f2c532f6f60327ce4 (diff)
downloadgcc-4e74424074a80791ef6ba223d56b1af3f9ac4439.zip
gcc-4e74424074a80791ef6ba223d56b1af3f9ac4439.tar.gz
gcc-4e74424074a80791ef6ba223d56b1af3f9ac4439.tar.bz2
re PR tree-optimization/55079 (false positive -Warray-bounds (also seen at -O3 bootstrap))
PR tree-optimization/55079 * gcc.dg/tree-ssa/ssa-pre-1.c: Adjust. From-SVN: r194437
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-1.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-1.c
index 3dd3b52..3bc0f5e 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-1.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-1.c
@@ -9,7 +9,7 @@ int foo(int argc, char **argv)
b = argc + 1;
c = argc + 2;
a = b + c;
- if (argc * 2)
+ if (argc > 2)
{
c = argc + 3;
}