diff mbox

[GCC/ARM,testsuite] Fix pr42574.c selector syntax error

Message ID 2942868.C3caybiHGj@e108577-lin
State New
Headers show

Commit Message

Thomas Preudhomme July 14, 2016, 9:12 a.m. UTC
This patch fixes a syntax error in the dg-do selector of pr42574.c: it is 
missing the target keyword, with the following boolean expression enclosed in 
curly braces. Test fails to be run without this patch and successfully pass 
with it. Patch is in attachment.

ChangeLog entry is as follows:


*** gcc/testsuite/ChangeLog ***

2016-07-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>

        * gcc.target/arm/pr42574.c: Add missing target keyword for the dg-do
        selector and enclose boolean expression in curly braces.


Is this ok for trunk?

Best regards,

Thomas

Comments

Kyrill Tkachov July 14, 2016, 9:14 a.m. UTC | #1
Hi Thomas,

On 14/07/16 10:12, Thomas Preudhomme wrote:
> This patch fixes a syntax error in the dg-do selector of pr42574.c: it is
> missing the target keyword, with the following boolean expression enclosed in
> curly braces. Test fails to be run without this patch and successfully pass
> with it. Patch is in attachment.
>
> ChangeLog entry is as follows:
>
>
> *** gcc/testsuite/ChangeLog ***
>
> 2016-07-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
>
>          * gcc.target/arm/pr42574.c: Add missing target keyword for the dg-do
>          selector and enclose boolean expression in curly braces.
>
>
> Is this ok for trunk?

Ok. I'd say this is an obvious change.
Thanks,
Kyrill


> Best regards,
>
> Thomas
Thomas Preudhomme July 14, 2016, 9:20 a.m. UTC | #2
On Thursday 14 July 2016 10:14:52 Kyrill Tkachov wrote:
> Hi Thomas,
> 
> On 14/07/16 10:12, Thomas Preudhomme wrote:
> > This patch fixes a syntax error in the dg-do selector of pr42574.c: it is
> > missing the target keyword, with the following boolean expression enclosed
> > in curly braces. Test fails to be run without this patch and successfully
> > pass with it. Patch is in attachment.
> > 
> > ChangeLog entry is as follows:
> > 
> > 
> > *** gcc/testsuite/ChangeLog ***
> > 
> > 2016-07-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
> > 
> >          * gcc.target/arm/pr42574.c: Add missing target keyword for the
> >          dg-do
> >          selector and enclose boolean expression in curly braces.
> > 
> > Is this ok for trunk?
> 
> Ok. I'd say this is an obvious change.

Err indeed, long time I did not have one.

Thanks.

Thomas
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.target/arm/pr42574.c b/gcc/testsuite/gcc.target/arm/pr42574.c
index e3476f37788a2b3144454aef04a9b45c0b4ac398..d3d6b5d32e5826abf1017b823a9e271383daf09d 100644
--- a/gcc/testsuite/gcc.target/arm/pr42574.c
+++ b/gcc/testsuite/gcc.target/arm/pr42574.c
@@ -1,4 +1,4 @@ 
-/* { dg-do compile { arm_thumb1_ok && { ! arm_thumb1_movt_ok } } } */
+/* { dg-do compile { target { arm_thumb1_ok && { ! arm_thumb1_movt_ok } } } } */
 /* { dg-options "-mthumb -Os -fpic" }  */
 /* { dg-require-effective-target fpic } */
 /* Make sure the address of glob.c is calculated only once and using