Fix gcc.dg/debug/dwarf2/inline5.c with Solaris as (PR debug/87451)
PR debug/87451 * gcc.dg/debug/dwarf2/inline5.c: Allow for non-comment before "(DIE (0x[0-9a-f]*) DW_TAG_variable". xfail scan-assembler-not with Solaris as. From-SVN: r268588
This commit is contained in:
parent
d24b0ba320
commit
d0307ff2cd
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2019-02-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
PR debug/87451
|
||||
* gcc.dg/debug/dwarf2/inline5.c: Allow for non-comment before
|
||||
"(DIE (0x[0-9a-f]*) DW_TAG_variable".
|
||||
xfail scan-assembler-not with Solaris as.
|
||||
|
||||
2019-02-06 Bill Seurer <seurer@linux.vnet.ibm.com>
|
||||
|
||||
* gcc.target/powerpc/vsx-vector-6.p7.c: Update instruction
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-final { scan-assembler-times "DW_TAG_inlined_subroutine" 2 } } */
|
||||
/* { dg-final { scan-assembler-times "DW_TAG_lexical_block\\)\[^#/!@;\\|\]*\[#/!@;\\|\]+ +DW_AT_abstract_origin" 2 } } */
|
||||
/* { dg-final { scan-assembler-times "DW_TAG_lexical_block\\)\[^#/!@;\\|\]*\[#/!@;\\|\]+ +\\(DIE \\(0x\[0-9a-f\]*\\) DW_TAG_variable" 1 } } */
|
||||
/* { dg-final { scan-assembler-times "DW_TAG_lexical_block\\)\[^#/!@;\\|\]*\[#/!@;\\|\]+ +\[^#/!@\\|\]*\\(DIE \\(0x\[0-9a-f\]*\\) DW_TAG_variable" 1 } } */
|
||||
/* We do not know which is output first so look for both invalid abstract
|
||||
origins on the lexical blocks (knowing that the abstract instance has
|
||||
no attribute following the DW_TAG_lexical_block. */
|
||||
/* { dg-final { scan-assembler-not "\\(DIE \\(0x(\[0-9a-f\]*)\\) DW_TAG_lexical_block\\)\[^#/!@;\\|\]*\[#/!@;\\|\]+ +\[^(\].*DW_TAG_lexical_block\\)\[^#/!@;\\|x\]*x\\1\[^#/!@;\\|\]*\[#/!@;\\|\] +DW_AT_abstract_origin" } } */
|
||||
/* { dg-final { scan-assembler-not "\\(DIE \\(0x(\[0-9a-f\]*)\\) DW_TAG_lexical_block\\)\[^#/!@;\\|\]*\[#/!@;\\|\]+ +\[^(\].*DW_TAG_lexical_block\\)\[^#/!@;\\|x\]*x\\1\[^#/!@;\\|\]*\[#/!@;\\|\] +DW_AT_abstract_origin" { xfail { *-*-solaris2.* && { ! gas } } } } } */
|
||||
/* { dg-final { scan-assembler-not "DW_TAG_lexical_block\\)\[^#/!@;\\|x\]*x(\[0-9a-f\]*)\[^#/!@;\\|\]*\[#/!@;\\|\]+ +DW_AT_abstract_origin.*\\(DIE \\(0x\\1\\) DW_TAG_lexical_block\\)\[^#/!@;\\|\]*\[#/!@;\\|\]+ +DW_AT" } } */
|
||||
|
||||
int foo (int i)
|
||||
|
|
Loading…
Add table
Reference in a new issue