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
This commit is contained in:
Tom de Vries 2015-07-01 17:33:01 +00:00 committed by Tom de Vries
parent 23bae97dbd
commit 5747290f51
2 changed files with 10 additions and 4 deletions

View File

@ -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.

View File

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