aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2007-07-13 12:49:07 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2007-07-13 12:49:07 +0000
commitf10442327abc6b8cd39cb09781babb7f5121a9f0 (patch)
treeb24789c911886c3652452be9bac8127943701c6e /gcc
parent36f568c3870c0e06b0ab5a54745683979e313365 (diff)
downloadgcc-f10442327abc6b8cd39cb09781babb7f5121a9f0.zip
gcc-f10442327abc6b8cd39cb09781babb7f5121a9f0.tar.gz
gcc-f10442327abc6b8cd39cb09781babb7f5121a9f0.tar.bz2
20011127-1.c: Use dg-message...
* gcc.dg/20011127-1.c: Use dg-message, not dg-error to match the error message part that continues on a new line. From-SVN: r126618
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/20011127-1.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e6a5cf4..a1004e1 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-13 Hans-Peter Nilsson <hp@axis.com>
+
+ * gcc.dg/20011127-1.c: Use dg-message, not dg-error to match the
+ error message part that continues on a new line.
+
2007-07-12 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/c99-tgmath-1.c: New.
diff --git a/gcc/testsuite/gcc.dg/20011127-1.c b/gcc/testsuite/gcc.dg/20011127-1.c
index a919128..ab78124 100644
--- a/gcc/testsuite/gcc.dg/20011127-1.c
+++ b/gcc/testsuite/gcc.dg/20011127-1.c
@@ -1,11 +1,11 @@
-/* Copyright (C) 2001 Free Software Foundation.
+/* Copyright (C) 2001, 2007 Free Software Foundation.
by Hans-Peter Nilsson <hp@axis.com>
Making sure that invalid asm operand modifiers don't cause an ICE. */
/* { dg-do compile { target cris-*-* } } */
/* { dg-options "-O2" } */
-/* { dg-error "reg:SI|const_double:DF" "prune debug_rtx output" { target cris-*-* } 0 } */
+/* { dg-message "reg:SI|const_double:DF" "prune debug_rtx output" { target cris-*-* } 0 } */
void
foo (void)