From: amylaar Date: Mon, 5 Sep 2005 14:56:37 +0000 (+0000) Subject: * gcc.dg/debug/dwarf2/dwarf-char1.c: Allow '!' comment character. X-Git-Tag: upstream/4.9.2~58804 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6610c7fc17e810c65bb1063b57992c3628a2b28c;p=platform%2Fupstream%2Flinaro-gcc.git * gcc.dg/debug/dwarf2/dwarf-char1.c: Allow '!' comment character. * gcc.dg/debug/dwarf2/dwarf-char2.c: Likewise. * gcc.dg/debug/dwarf2/dwarf-char3.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103907 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-char2.c b/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-char2.c index dd3bf93..507358e 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-char2.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-char2.c @@ -1,8 +1,8 @@ /* PR debug/7241 */ /* { dg-do compile } */ /* { dg-options "-O2 -gdwarf-2 -dA" } */ -/* { dg-final { scan-assembler "0x\[68\]\[ \t\]# DW_AT_encoding" } } */ -/* { dg-final { scan-assembler-not "0x\[57\]\[ \t\]# DW_AT_encoding" } } */ +/* { dg-final { scan-assembler "0x\[68\]\[ \t\]\[#!\] DW_AT_encoding" } } */ +/* { dg-final { scan-assembler-not "0x\[57\]\[ \t\]\[#!\] DW_AT_encoding" } } */ const char a; char b; diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-char3.c b/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-char3.c index d9e589a..e287fb4 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-char3.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-char3.c @@ -1,7 +1,7 @@ /* PR debug/7241 */ /* { dg-do compile } */ /* { dg-options "-O2 -gdwarf-2 -dA" } */ -/* { dg-final { scan-assembler "0x\[68\]\[ \t\]# DW_AT_encoding" } } */ -/* { dg-final { scan-assembler-not "0x\[57\]\[ \t\]# DW_AT_encoding" } } */ +/* { dg-final { scan-assembler "0x\[68\]\[ \t\]\[#!\] DW_AT_encoding" } } */ +/* { dg-final { scan-assembler-not "0x\[57\]\[ \t\]\[#!\] DW_AT_encoding" } } */ const char *p = "abc";