From b25b8f916255fe4618d48bebc083e68e5a02ad76 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Sat, 6 May 2017 07:16:43 +0000 Subject: [PATCH] Replace absolute line numbers in gcc.target/arm 2017-05-06 Tom de Vries PR testsuite/80557 * gcc.target/arm/pr69180.c: Replace absolute line numbers. From-SVN: r247714 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/arm/pr69180.c | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d4ce9f041de..32b59c5c005 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-05-06 Tom de Vries + + PR testsuite/80557 + * gcc.target/arm/pr69180.c: Replace absolute line numbers. + 2017-05-06 Tom de Vries PR testsuite/80557 diff --git a/gcc/testsuite/gcc.target/arm/pr69180.c b/gcc/testsuite/gcc.target/arm/pr69180.c index 998c73426a2..a43d0fe67a6 100644 --- a/gcc/testsuite/gcc.target/arm/pr69180.c +++ b/gcc/testsuite/gcc.target/arm/pr69180.c @@ -8,9 +8,10 @@ #pragma GCC target ("fpu=neon-fp-armv8") #define __ARM_NEON_FP 0 +/* { dg-warning ".__ARM_NEON_FP. redefined" "" { target *-*-* } .-1 } */ + #define __ARM_FP 0 -#define __ARM_FEATURE_LDREX 0 +/* { dg-warning ".__ARM_FP. redefined" "" { target *-*-* } .-1 } */ -/* { dg-warning ".__ARM_NEON_FP. redefined" "" { target *-*-* } 10 } */ -/* { dg-warning ".__ARM_FP. redefined" "" { target *-*-* } 11 } */ -/* { dg-warning ".__ARM_FEATURE_LDREX. redefined" "" { target *-*-* } 12 } */ +#define __ARM_FEATURE_LDREX 0 +/* { dg-warning ".__ARM_FEATURE_LDREX. redefined" "" { target *-*-* } .-1 } */ -- 2.30.2