public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch obvious][arm testsuite] Fixup expected location in require-pic-register-loc.c
@ 2017-10-26 14:32 James Greenhalgh
  0 siblings, 0 replies; only message in thread
From: James Greenhalgh @ 2017-10-26 14:32 UTC (permalink / raw)
  To: gcc-patches; +Cc: nd, richard.earnshaw, ramana.radhakrishnan, kyrtka01

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]


Hi,

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.

That's the obvious fix, and just extends what Jakub did in r254010 so
I've applied it as r254106.

Thanks,
James

---
2017-10-25  James Greenhalgh  <james.greenhalgh@arm.com>

	* gcc.target/arm/require-pic-register-loc.c: Use wider regex for
	column information.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Patch-obvious-arm-testsuite-Fixup-expected-location-.patch --]
[-- Type: text/x-patch; name="0001-Patch-obvious-arm-testsuite-Fixup-expected-location-.patch", Size: 1107 bytes --]

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 } } */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-26 14:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-26 14:32 [Patch obvious][arm testsuite] Fixup expected location in require-pic-register-loc.c James Greenhalgh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).