aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2011-01-17 20:31:35 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2011-01-17 20:31:35 +0000
commit015a7937726893f58fa4f172c61d659579f44da2 (patch)
treeeec05823a1995b6dedabb7efa64dbf45fe9f0921 /gcc
parent4f7d9db8ccbce3a897b73bca6e5abd4c4e3558fe (diff)
downloadgcc-015a7937726893f58fa4f172c61d659579f44da2.zip
gcc-015a7937726893f58fa4f172c61d659579f44da2.tar.gz
gcc-015a7937726893f58fa4f172c61d659579f44da2.tar.bz2
vrp51.c: Prefix each "bug." string with "vrp.".
gcc/testsuite/ * gcc.dg/tree-ssa/vrp51.c: Prefix each "bug." string with "vrp.". Update dg-final accordingly. From-SVN: r168933
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/vrp51.c18
2 files changed, 14 insertions, 9 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d404627..2509e22 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-17 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * gcc.dg/tree-ssa/vrp51.c: Prefix each "bug." string with "vrp.".
+ Update dg-final accordingly.
+
2011-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* g++.old-deja/g++.other/init19.C: Don't XFAIL on mips-sgi-irix*.
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/vrp51.c b/gcc/testsuite/gcc.dg/tree-ssa/vrp51.c
index 66aa5ed..5f1cafb 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/vrp51.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/vrp51.c
@@ -10,10 +10,10 @@ v4 (unsigned a, unsigned b)
if (b < 0x0110) return;
/* constant true. */
if (!__builtin_constant_p ((a|b) >= 0x01000))
- __asm__("bug.always.true");
+ __asm__("vrp.bug.always.true");
/* VRP must not think that this is constant. */
if (__builtin_constant_p ((a|b) >= 0x10000))
- __asm__("bug.not.always.true");
+ __asm__("vrp.bug.not.always.true");
}
void
@@ -23,13 +23,13 @@ u4 (unsigned n)
if (n < 0x10101) return;
/* always true. */
if (!__builtin_constant_p (n & 0x00100))
- __asm__("bug.always.true");
+ __asm__("vrp.bug.always.true");
/* VRP must not think that this is constant true. */
if (__builtin_constant_p (n & 0x00001))
- __asm__("bug.not.always.true");
+ __asm__("vrp.bug.not.always.true");
/* Out of range, always evaluates to constant false. */
if (!__builtin_constant_p (n & 0x01000))
- __asm__("bug.always.false");
+ __asm__("vrp.bug.always.false");
}
void
@@ -38,7 +38,7 @@ u5 (unsigned n)
struct s {unsigned exp:8;} x;
x.exp = n;
if (__builtin_constant_p(((n + 1) & 255) > 1))
- __asm__("bug.not.always.true");
+ __asm__("vrp.bug.not.always.true");
}
void
@@ -49,10 +49,10 @@ v5 (int a, int b)
if (b < 0x0110) return;
/* constant true. */
if (!__builtin_constant_p ((a|b) >= 0x01000))
- __asm__("bug.always.true");
+ __asm__("vrp.bug.always.true");
/* VRP must not think that this is always true. */
if (__builtin_constant_p ((a|b) >= 0x10000))
- __asm__("bug.not.always.true");
+ __asm__("vrp.bug.not.always.true");
}
-/* { dg-final { scan-assembler-not "bug\." } } */
+/* { dg-final { scan-assembler-not "vrp\\\.bug\\\." } } */