re PR testsuite/29093 (gcc.dg/debug/dwarf2/dwarf-file1.c fails on targets that have .loc)

PR testsuite/29093
	* gcc.dg/debug/dwarf2/dwarf-file1.c: Check for ".file".

From-SVN: r117667
This commit is contained in:
Steve Ellcey 2006-10-12 16:52:33 +00:00 committed by Steve Ellcey
parent de000d222a
commit 59810d826e
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-10-12 Steve Ellcey <sje@cup.hp.com>
PR testsuite/29093
* gcc.dg/debug/dwarf2/dwarf-file1.c: Check for ".file".
2006-10-12 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/28709

View File

@ -1,5 +1,9 @@
/* { dg-do compile } */
/* { dg-options "-O2 -gdwarf-2 -dA" } */
/* { dg-final { scan-assembler "File Entry:" } } */
/* Verify that a file entry is output for this file. */
/* { dg-final { scan-assembler "File Entry:|.file" } } */
/* Verify that a file entry is output for this file. Only systems that
do not define HAVE_AS_DWARF2_DEBUG_LINE will put out "File Entry:",
but systems that do define HAVE_AS_DWARF2_DEBUG_LINE will put out a
".file" so we check for either. */
int bar = 3;