Commit 0154ea95 by Dehao Chen Committed by Dehao Chen

re PR testsuite/57413 (FAIL: gcc.dg/debug/dwarf2/discriminator.c scan-assembler…

re PR testsuite/57413 (FAIL: gcc.dg/debug/dwarf2/discriminator.c scan-assembler on x86_64-apple-darwin10, Solaris/x86)

2013-05-29  Dehao Chen  <dehao@google.com>

	PR testsuite/57413
	* gcc.dg/debug/dwarf2/discriminator.c: Restrict the test to linux-gnu.

From-SVN: r199412
parent 4fc43c39
2013-05-29 Dehao Chen <dehao@google.com>
PR testsuite/57413
* gcc.dg/debug/dwarf2/discriminator.c: Restrict the test to linux-gnu.
2013-05-28 Tobias Burnus <burnus@net-b.de> 2013-05-28 Tobias Burnus <burnus@net-b.de>
PR fortran/37336 PR fortran/37336
......
/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */ /* HAVE_AS_DWARF2_DEBUG_LINE macro needs to be defined to pass the unittest.
/* { dg-options "-O0 -gdwarf-2" } */ However, there dg cannot defin it as, so we restrict the target to linux. */
/* { dg-final { scan-assembler "loc \[0-9] 9 \[0-9]( is_stmt \[0-9])?\n" } } */ /* { dg-do compile { target *-*-linux-gnu } } */
/* { dg-final { scan-assembler "loc \[0-9] 9 \[0-9]( is_stmt \[0-9])? discriminator 2\n" } } */ /* { dg-additional-options "-O0" } */
/* { dg-final { scan-assembler "loc \[0-9] 9 \[0-9]( is_stmt \[0-9])? discriminator 1\n" } } */ /* { 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" } } */
int foo(int n) { int foo(int n) {
int i, ret = 0; int i, ret = 0;
......
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