diff options
author | James Greenhalgh <james.greenhalgh@arm.com> | 2017-10-26 14:17:40 +0000 |
---|---|---|
committer | James Greenhalgh <jgreenhalgh@gcc.gnu.org> | 2017-10-26 14:17:40 +0000 |
commit | 18b279715c298992748426a41083ec76f3875bfa (patch) | |
tree | 3f151d7657e196d11dce7f630d871fac3bd1baed /gcc | |
parent | 75bafecbd14e68a0f94b3bbc9e414b214c2e7805 (diff) | |
download | gcc-18b279715c298992748426a41083ec76f3875bfa.zip gcc-18b279715c298992748426a41083ec76f3875bfa.tar.gz gcc-18b279715c298992748426a41083ec76f3875bfa.tar.bz2 |
[obvious][arm testsuite] Fixup expected location in require-pic-register-loc.c
After r254010 we now add -gcolumn-info by default, that means the tests
in gcc.target/arm/require-pic-register-loc.c need adjusting to not expect
to see column zero.
gcc/testsuite/
* gcc.target/arm/require-pic-register-loc.c: Use wider regex for
column information.
From-SVN: r254106
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/arm/require-pic-register-loc.c | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d71ab16..01824b3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-10-26 James Greenhalgh <james.greenhalgh@arm.com> + + * gcc.target/arm/require-pic-register-loc.c: Use wider regex for + column information. + 2017-10-26 Tamar Christina <tamar.christina@arm.com> * gcc.dg/vect/vect-reduc-dot-s8a.c diff --git a/gcc/testsuite/gcc.target/arm/require-pic-register-loc.c b/gcc/testsuite/gcc.target/arm/require-pic-register-loc.c index bd85e86..268e9e4 100644 --- a/gcc/testsuite/gcc.target/arm/require-pic-register-loc.c +++ b/gcc/testsuite/gcc.target/arm/require-pic-register-loc.c @@ -18,12 +18,12 @@ main (int argc) /* line 9. */ return 0; } -/* { dg-final { scan-assembler-not "\.loc 1 7 0" } } */ -/* { dg-final { scan-assembler-not "\.loc 1 8 0" } } */ -/* { dg-final { scan-assembler-not "\.loc 1 9 0" } } */ +/* { dg-final { scan-assembler-not "\.loc 1 7 \[0-9\]\+" } } */ +/* { dg-final { scan-assembler-not "\.loc 1 8 \[0-9\]\+" } } */ +/* { dg-final { scan-assembler-not "\.loc 1 9 \[0-9\]\+" } } */ /* The loc at the start of the prologue. */ -/* { dg-final { scan-assembler-times "\.loc 1 10 0" 1 } } */ +/* { dg-final { scan-assembler-times "\.loc 1 10 \[0-9\]\+" 1 } } */ /* The loc at the end of the prologue, with the first user line. */ -/* { dg-final { scan-assembler-times "\.loc 1 11 0" 1 } } */ +/* { dg-final { scan-assembler-times "\.loc 1 11 \[0-9\]\+" 1 } } */ |