aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr26570.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2007-06-05 22:30:24 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2007-06-05 22:30:24 +0000
commitebd003c09b7189207a91aaf6f5e9fac0b40f733c (patch)
treef1e5531761371a5ad76ff6bd284af07f23c13421 /gcc/testsuite/gcc.dg/pr26570.c
parentf7fd775f0203c580b35b179976c665db3e4d9e46 (diff)
downloadgcc-ebd003c09b7189207a91aaf6f5e9fac0b40f733c.zip
gcc-ebd003c09b7189207a91aaf6f5e9fac0b40f733c.tar.gz
gcc-ebd003c09b7189207a91aaf6f5e9fac0b40f733c.tar.bz2
re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and warnings)
2007-06-05 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR testsuite/25241 testsuite/ * gcc.dg/invalid-call-1.c: Use dg-warning to match the warning and dg-message to match de note. * gcc.dg/pr26570.c: Use dg-message for a note. * gcc.dg/pr29254.c: Use dg-message for generic output and use dg-error instead of dg-warning because of -Werror. * gcc.dg/glibc-uclibc-1.c: Use dg-message for output that is neither an error, nor a warning. * gcc.dg/glibc-uclibc-2.c: Likewise * gcc.dg/cpp/19940712-1.c: Likewise. From-SVN: r125347
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr26570.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr26570.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr26570.c b/gcc/testsuite/gcc.dg/pr26570.c
index efae8d6..5f67c00 100644
--- a/gcc/testsuite/gcc.dg/pr26570.c
+++ b/gcc/testsuite/gcc.dg/pr26570.c
@@ -4,6 +4,6 @@
unsigned test (unsigned a, unsigned b)
{
return a / b;
-} /* { dg-warning "execution counts estimated" } */
+} /* { dg-message "note: \[^\n\]*execution counts estimated" } */
/* { dg-final { cleanup-coverage-files } } */