From: Tom de Vries Date: Wed, 1 Jul 2015 17:33:01 +0000 (+0000) Subject: Use scan-rtl-dump in i386/vararg-loc.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5747290f51626242079a83651beb4a981b53d268;p=gcc.git Use scan-rtl-dump in i386/vararg-loc.c 2015-07-01 Tom de Vries PR testsuite/66723 * gcc.target/i386/vararg-loc.c: Use scan-rtl-dump instead of scan-assembler. From-SVN: r225266 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a5ea93313be..88a7bc649a4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-07-01 Tom de Vries + + PR testsuite/66723 + * gcc.target/i386/vararg-loc.c: Use scan-rtl-dump instead of + scan-assembler. + 2015-07-01 Thomas Koenig * gfortran.dg/warn_conversion_8.f90: New test. diff --git a/gcc/testsuite/gcc.target/i386/vararg-loc.c b/gcc/testsuite/gcc.target/i386/vararg-loc.c index f236fe3986e..8134ba8c0cb 100644 --- a/gcc/testsuite/gcc.target/i386/vararg-loc.c +++ b/gcc/testsuite/gcc.target/i386/vararg-loc.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-g -O0" } */ +/* { dg-options "-g -O0 -fdump-rtl-final" } */ #include @@ -22,6 +22,6 @@ f (int a, ...) /* 8. */ return sum; } -/* { dg-final { scan-assembler-not "\\.loc 1 \[6789\] 0" } } */ -/* { dg-final { scan-assembler-times "\\.loc 1 18 0" 1 } } */ -/* { dg-final { scan-assembler-times "\\.loc 1 20 0" 1 } } */ +/* { dg-final { scan-rtl-dump-not "vararg-loc\\.c:\[6789\] " "final" } } */ +/* { dg-final { scan-rtl-dump "vararg-loc\\.c:18 " "final" } } */ +/* { dg-final { scan-rtl-dump "vararg-loc\\.c:20 " "final" } } */