Message ID | ydd7gmbxgjy.fsf@lokon.CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
On Thu, Feb 14, 2013 at 12:48:01PM +0100, Rainer Orth wrote: > Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes: > --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c > +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c > @@ -1,7 +1,7 @@ > /* Test that we have line information for the line > with local variable initializations. */ > /* { dg-options "-O0 -g -dA" } */ > -/* { dg-final { scan-assembler ".loc 1 8 0|\[#/!\] line 8" } } */ > +/* { dg-final { scan-assembler ".loc 1 8 0|\[#/!\]\[ \t\]+line 8" } } */ Given dwarf-char*.c regexps, perhaps that should be \[#@;!/|\]+\[ \t\]+ instead of \[#/!\]\[ \t\]+ Quick grep reveals m68k uses | and arm uses @. Jakub
diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c @@ -1,7 +1,7 @@ /* Test that we have line information for the line with local variable initializations. */ /* { dg-options "-O0 -g -dA" } */ -/* { dg-final { scan-assembler ".loc 1 8 0|\[#/!\] line 8" } } */ +/* { dg-final { scan-assembler ".loc 1 8 0|\[#/!\]\[ \t\]+line 8" } } */ int f (register int a, register int b) {