aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/vrp19.c
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2017-01-28 11:06:17 -0800
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-02-12 00:47:43 +0000
commit8b066eb1d1aafb559890836e254ebf1ebd7de9a5 (patch)
tree462d4f570ef836cf0f5e8f7e9a853de3b4c3ad25 /gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/vrp19.c
parent4bd43c54babe00722e71026a039cdd238fa420f3 (diff)
downloadtoolchain_gcc-8b066eb1d1aafb559890836e254ebf1ebd7de9a5.tar.gz
toolchain_gcc-8b066eb1d1aafb559890836e254ebf1ebd7de9a5.tar.bz2
toolchain_gcc-8b066eb1d1aafb559890836e254ebf1ebd7de9a5.zip
Fix GCC bug PR 46639, for kernel security
The kernel security team asked us to fix this bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46639 This CL does that. Note: This CL depends on https://android-review.googlesource.com/329799 Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46639 Test: Ran build.py for all toolchain versions; used resulting compilers to build bullhead, angler and fugu plaform images. Ran checkbuild.py. Change-Id: I1e1abf594cff56c6ed6dc228a1d084da18c11420
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/vrp19.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/vrp19.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/vrp19.c b/gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/vrp19.c
index e4c884a85..45a85fafe 100644
--- a/gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/vrp19.c
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/tree-ssa/vrp19.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-fwrapv -O1 -ftree-vrp -fdump-tree-vrp1" } */
+/* { dg-options "-fwrapv -O1 -ftree-vrp -fdump-tree-vrp" } */
#include <limits.h>
extern void abort ();
@@ -22,6 +22,6 @@ int g (int b) {
}
return 1;
}
-/* { dg-final { scan-tree-dump "Folding predicate a_. < 0 to 0" "vrp1" } } */
-/* { dg-final { scan-tree-dump "Folding predicate b_. >= 0 to 1" "vrp1" } } */
-/* { dg-final { cleanup-tree-dump "vrp1" } } */
+/* { dg-final { scan-tree-dump "Folding predicate a_. < 0 to 0" "vrp" } } */
+/* { dg-final { scan-tree-dump "Folding predicate b_. >= 0 to 1" "vrp" } } */
+/* { dg-final { cleanup-tree-dump "vrp" } } */