dwarf-char1.c: Accept more assembler comment start strings.

* gcc.dg/debug/dwarf2/dwarf-char1.c: Accept more assembler comment
	start strings.
	* gcc.dg/debug/dwarf2/dwarf-char2.c: Likewise.
	* gcc.dg/debug/dwarf2/dwarf-char3.c: Likewise.

From-SVN: r103937
This commit is contained in:
Jakub Jelinek 2005-09-06 11:08:07 +02:00 committed by Jakub Jelinek
parent 822971c1ab
commit 452ed0631f
4 changed files with 11 additions and 6 deletions

View File

@ -1,5 +1,10 @@
2005-09-06 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/debug/dwarf2/dwarf-char1.c: Accept more assembler comment
start strings.
* gcc.dg/debug/dwarf2/dwarf-char2.c: Likewise.
* gcc.dg/debug/dwarf2/dwarf-char3.c: Likewise.
PR c++/23056
* g++.dg/opt/pr23056.C: New test.

View File

@ -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" } } */
char a;
const char b;

View File

@ -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;

View File

@ -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";