aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)