Commit 452ed063 by Jakub Jelinek Committed by Jakub Jelinek

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
parent 822971c1
2005-09-06 Jakub Jelinek <jakub@redhat.com> 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 PR c++/23056
* g++.dg/opt/pr23056.C: New test. * g++.dg/opt/pr23056.C: New test.
/* PR debug/7241 */ /* PR debug/7241 */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O2 -gdwarf-2 -dA" } */ /* { dg-options "-O2 -gdwarf-2 -dA" } */
/* { dg-final { scan-assembler "0x\[68\]\[ \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" } } */ /* { dg-final { scan-assembler-not "0x\[57\]\[ \t\]\[#@;!/|\]+ +DW_AT_encoding" } } */
char a; char a;
const char b; const char b;
......
/* PR debug/7241 */ /* PR debug/7241 */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O2 -gdwarf-2 -dA" } */ /* { dg-options "-O2 -gdwarf-2 -dA" } */
/* { dg-final { scan-assembler "0x\[68\]\[ \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" } } */ /* { dg-final { scan-assembler-not "0x\[57\]\[ \t\]\[#@;!/|\]+ +DW_AT_encoding" } } */
const char a; const char a;
char b; char b;
......
/* PR debug/7241 */ /* PR debug/7241 */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O2 -gdwarf-2 -dA" } */ /* { dg-options "-O2 -gdwarf-2 -dA" } */
/* { dg-final { scan-assembler "0x\[68\]\[ \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" } } */ /* { dg-final { scan-assembler-not "0x\[57\]\[ \t\]\[#@;!/|\]+ +DW_AT_encoding" } } */
const char *p = "abc"; const char *p = "abc";
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