[testsuite,arm] [Diagnostic Patch] don't print column zero
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 20 Nov 2017 10:40:36 +0000 (10:40 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Mon, 20 Nov 2017 10:40:36 +0000 (11:40 +0100)
2017-11-20  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
* gcc.target/arm/pr69180.c: Use -: for no column in expected
warnings.

From-SVN: r254949

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr69180.c

index 4cd2f15d4f134d335a915e2310e3cfe461fb41f1..c6b860c6ce97c5aaae412ce6d222311d398d6907 100644 (file)
@@ -1,3 +1,8 @@
+2017-11-20  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * gcc.target/arm/pr69180.c: Use -: for no column in expected
+       warnings.
+
 2017-11-20  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/78821
index a43d0fe67a616cef29969e9bbf5c55c34445bfda..1e978ef35803f6876ede4250cce28d875c2994e9 100644 (file)
@@ -8,10 +8,10 @@
 #pragma GCC target ("fpu=neon-fp-armv8")
 
 #define __ARM_NEON_FP 0
-/* { dg-warning ".__ARM_NEON_FP. redefined" "" { target *-*-* } .-1 }  */
+/* { dg-warning "-:.__ARM_NEON_FP. redefined" "" { target *-*-* } .-1 }  */
 
 #define __ARM_FP 0
-/* { dg-warning ".__ARM_FP. redefined" "" { target *-*-* } .-1 } */
+/* { dg-warning "-:.__ARM_FP. redefined" "" { target *-*-* } .-1 } */
 
 #define __ARM_FEATURE_LDREX 0
-/* { dg-warning ".__ARM_FEATURE_LDREX. redefined" "" { target *-*-* } .-1 } */
+/* { dg-warning "-:.__ARM_FEATURE_LDREX. redefined" "" { target *-*-* } .-1 } */