The error message for unknown types changed a few months ago.  Update
a test that still looks for the old message.

Tested on arm-none-linux-gnueabi.  OK for trunk and 4.6?
2011-05-24  Janis Johnson  <jani...@codesourcery.com>

        * gcc.target/arm/fp16-compile-none-1.c: Update expected error.

Index: gcc.target/arm/fp16-compile-none-1.c
===================================================================
--- gcc.target/arm/fp16-compile-none-1.c        (revision 174094)
+++ gcc.target/arm/fp16-compile-none-1.c        (working copy)
@@ -3,4 +3,4 @@
 
 /* __fp16 type name is not recognized unless you explicitly enable it
    by selecting -mfp16-format=ieee or -mfp16-format=alternative.  */
-__fp16 xx = 0.0;  /* { dg-error "expected" } */
+__fp16 xx = 0.0;  /* { dg-error "unknown type name" } */

Reply via email to