From 015a7937726893f58fa4f172c61d659579f44da2 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 17 Jan 2011 20:31:35 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/tree-ssa/vrp51.c | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d40462765d8..2509e229558 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-01-17 Richard Sandiford + + * gcc.dg/tree-ssa/vrp51.c: Prefix each "bug." string with "vrp.". + Update dg-final accordingly. + 2011-01-17 Rainer Orth * 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 66aa5ed6d6b..5f1cafb0a50 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\\\." } } */ -- 2.30.2