OSDN Git Service

PR testsuite/29093
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Oct 2006 16:52:33 +0000 (16:52 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Oct 2006 16:52:33 +0000 (16:52 +0000)
* gcc.dg/debug/dwarf2/dwarf-file1.c: Check for ".file".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117667 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-file1.c

index 500edd2..b13454e 100644 (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
index 96a2b5a..c68dfe4 100644 (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;