re PR debug/87451 (FAIL: gcc.dg/debug/dwarf2/inline5.c)
authorRichard Biener <rguenther@suse.de>
Thu, 27 Sep 2018 14:17:52 +0000 (14:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 27 Sep 2018 14:17:52 +0000 (14:17 +0000)
2018-09-27  Richard Biener  <rguenther@suse.de>

PR testsuite/87451
* gcc.dg/debug/dwarf2/inline5.c: Deal with different comment characters.

From-SVN: r264668

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2/inline5.c

index 712e2be38d56a1e510dda665105f3cd867e540c3..19f4eaf90c91181368a89d943230490ac1962399 100644 (file)
@@ -1,3 +1,8 @@
+2018-09-27  Richard Biener  <rguenther@suse.de>
+
+       PR testsuite/87451
+       * gcc.dg/debug/dwarf2/inline5.c: Deal with different comment characters.
+
 2018-09-27  Richard Biener  <rguenther@suse.de>
 
        PR debug/37801
index 4f4463b1868f0eaedfe04d254ee4396d2ea8e56b..d70087b58b111b0629e136b9cd993b6abd289f72 100644 (file)
@@ -4,13 +4,13 @@
 /* { dg-options "-O -gdwarf -dA" } */
 /* { 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\\)\[^#/!\]*\[#/!\] DW_AT_abstract_origin" 2 } } */
+/* { 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 "DW_TAG_lexical_block\\)\[^#x\]*x(\[0-9a-f\]*)\[^#\]*# DW_AT_abstract_origin.*\\(DIE \\(0x\\1\\) DW_TAG_lexical_block\\)\[^#\]*# DW_AT" } } */
+/* { 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 "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)
 {