aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2015-07-01 17:33:01 +0000
committerTom de Vries <vries@gcc.gnu.org>2015-07-01 17:33:01 +0000
commit5747290f51626242079a83651beb4a981b53d268 (patch)
tree620c645eb642c3e4f286f187228652f7e17cc10f /gcc/testsuite
parent23bae97dbde2902ddefab4ab941447bb52864880 (diff)
downloadgcc-5747290f51626242079a83651beb4a981b53d268.zip
gcc-5747290f51626242079a83651beb4a981b53d268.tar.gz
gcc-5747290f51626242079a83651beb4a981b53d268.tar.bz2
Use scan-rtl-dump in i386/vararg-loc.c
2015-07-01 Tom de Vries <tom@codesourcery.com> PR testsuite/66723 * gcc.target/i386/vararg-loc.c: Use scan-rtl-dump instead of scan-assembler. From-SVN: r225266
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.target/i386/vararg-loc.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a5ea933..88a7bc6 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2015-07-01 Tom de Vries <tom@codesourcery.com>
+
+ PR testsuite/66723
+ * gcc.target/i386/vararg-loc.c: Use scan-rtl-dump instead of
+ scan-assembler.
+
2015-07-01 Thomas Koenig <tkoenig@gcc.gnu.org>
* 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 f236fe3..8134ba8 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 <stdarg.h>
@@ -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" } } */