Patchwork [testsuite] update error message in arm test

login
register
mail settings
Submitter Janis Johnson
Date May 24, 2011, 5:41 p.m.
Message ID <4DDBEDAF.8020100@codesourcery.com>
Download mbox | patch
Permalink /patch/97187/
State New
Headers show

Comments

Janis Johnson - May 24, 2011, 5:41 p.m.
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  <janisjo@codesourcery.com>

	* gcc.target/arm/fp16-compile-none-1.c: Update expected error.
Ramana Radhakrishnan - May 25, 2011, 9:11 a.m.
On 24/05/11 18:41, Janis Johnson wrote:
> 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?

OK.

cheers
Ramana

Patch

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" } */