From 94c32c00f1c5fdc097cb9c2f891423d5ab2c5326 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 14 Jul 2016 09:20:48 +0000 Subject: [PATCH] pr42574.c: Add missing target keyword for the dg-do selector and enclose boolean... 2016-07-14 Thomas Preud'homme gcc/testsuite/ * gcc.target/arm/pr42574.c: Add missing target keyword for the dg-do selector and enclose boolean expression in curly braces. From-SVN: r238331 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/arm/pr42574.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 27b06914e1c..c5a737926a1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-07-14 Thomas Preud'homme + + * gcc.target/arm/pr42574.c: Add missing target keyword for the dg-do + selector and enclose boolean expression in curly braces. + 2016-07-14 Alan Modra PR target/71733 diff --git a/gcc/testsuite/gcc.target/arm/pr42574.c b/gcc/testsuite/gcc.target/arm/pr42574.c index e3476f37788..d3d6b5d32e5 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 -- 2.30.2