summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-13 12:49:07 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-13 12:49:07 +0000
commit885e66ab3109b99fca42b9e03e680df5764232cd (patch)
treeb24789c911886c3652452be9bac8127943701c6e
parent30dfb8d18e0eea35b8af1a051fd7a43365a58856 (diff)
downloadgcc-885e66ab3109b99fca42b9e03e680df5764232cd.tar.gz
* gcc.dg/20011127-1.c: Use dg-message, not dg-error to match the
error message part that continues on a new line. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126618 138bc75d-0d04-0410-961f-82ee72b054a4
-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 e6a5cf411ab..a1004e1031f 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 a9191280088..ab781241a6d 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)