Commit 5747290f by Tom de Vries Committed by Tom de Vries

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
parent 23bae97d
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> 2015-07-01 Thomas Koenig <tkoenig@gcc.gnu.org>
* gfortran.dg/warn_conversion_8.f90: New test. * gfortran.dg/warn_conversion_8.f90: New test.
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-g -O0" } */ /* { dg-options "-g -O0 -fdump-rtl-final" } */
#include <stdarg.h> #include <stdarg.h>
...@@ -22,6 +22,6 @@ f (int a, ...) /* 8. */ ...@@ -22,6 +22,6 @@ f (int a, ...) /* 8. */
return sum; return sum;
} }
/* { dg-final { scan-assembler-not "\\.loc 1 \[6789\] 0" } } */ /* { dg-final { scan-rtl-dump-not "vararg-loc\\.c:\[6789\] " "final" } } */
/* { dg-final { scan-assembler-times "\\.loc 1 18 0" 1 } } */ /* { dg-final { scan-rtl-dump "vararg-loc\\.c:18 " "final" } } */
/* { dg-final { scan-assembler-times "\\.loc 1 20 0" 1 } } */ /* { dg-final { scan-rtl-dump "vararg-loc\\.c:20 " "final" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment