]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc.dg/debug/dwarf2/discriminator.c fixes
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Jun 2013 12:36:19 +0000 (12:36 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Jun 2013 12:36:19 +0000 (12:36 +0000)
* gcc.dg/debug/dwarf2/discriminator.c: Fix wording.
Revert to dg-options.

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2/discriminator.c

index 96ca805fc699cdd8db8e75afe9174912c4abad5f..b39ac889448a0df28887c9b0be42cfd0e817d31e 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * gcc.dg/debug/dwarf2/discriminator.c: Fix wording.
+       Revert to dg-options.
+
 2013-06-07  Sebastian Huber  <sebastian.huber@embedded-brains.de>
 
        PR target/55033
index d88a1f5332bd22aa7de971298b482fad84f78a60..90752eb95b6e34d428b8a6b9e1c0d0ade37541b6 100644 (file)
@@ -1,7 +1,7 @@
 /* HAVE_AS_DWARF2_DEBUG_LINE macro needs to be defined to pass the unittest.
-   However, there dg cannot defin it as, so we restrict the target to linux.  */
+   However, dg cannot access it, so we restrict the target to linux.  */
 /* { dg-do compile { target *-*-linux-gnu } } */
-/* { dg-additional-options "-O0" } */
+/* { dg-options "-O0 -gdwarf-2" } */
 /* { dg-final { scan-assembler "loc \[0-9] 11 \[0-9]( is_stmt \[0-9])?\n" } } */
 /* { dg-final { scan-assembler "loc \[0-9] 11 \[0-9]( is_stmt \[0-9])? discriminator 2\n" } } */
 /* { dg-final { scan-assembler "loc \[0-9] 11 \[0-9]( is_stmt \[0-9])? discriminator 1\n" } } */