aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gmail.com>2023-08-20 12:53:19 +0200
committerFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2023-09-29 18:53:41 +0200
commit94e68ce96c285e479736851f1ad8cc87c8c3ff0c (patch)
tree728dccc84f820c64f1d2af481da6d419a5d096da
parent5f2408712a4e3994ad903c2f72af19c5a473ef5d (diff)
downloadgcc-94e68ce96c285e479736851f1ad8cc87c8c3ff0c.zip
gcc-94e68ce96c285e479736851f1ad8cc87c8c3ff0c.tar.gz
gcc-94e68ce96c285e479736851f1ad8cc87c8c3ff0c.tar.bz2
Testsuite, DWARF2: adjust regexp to match darwin output
gcc/testsuite/ChangeLog: * gcc.dg/debug/dwarf2/inline4.c: Ajdust regexp to match darwin output.
-rw-r--r--gcc/testsuite/gcc.dg/debug/dwarf2/inline4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/inline4.c b/gcc/testsuite/gcc.dg/debug/dwarf2/inline4.c
index 2faef6e..22eb35f 100644
--- a/gcc/testsuite/gcc.dg/debug/dwarf2/inline4.c
+++ b/gcc/testsuite/gcc.dg/debug/dwarf2/inline4.c
@@ -2,7 +2,7 @@
the DW_TAG_inlined_subroutine and the DW_TAG_variable for the local. */
/* { dg-options "-O -gdwarf -dA" } */
/* { dg-do compile } */
-/* { dg-final { scan-assembler "DW_TAG_inlined_subroutine\[^\\(\]*\\(\[^\\)\]*\\)\[^\\(\]*\\(DIE \\(0x\[0-9a-f\]*\\) DW_TAG_formal_parameter\[^\\(\]*\\(DIE \\(0x\[0-9a-f\]*\\) DW_TAG_variable" } } */
+/* { dg-final { scan-assembler "DW_TAG_inlined_subroutine\[^\\(\]*\(\|\\(\[^\\)\]*\\)\)\[^\\(\]*\\(DIE \\(0x\[0-9a-f\]*\\) DW_TAG_formal_parameter\[^\\(\]*\\(DIE \\(0x\[0-9a-f\]*\\) DW_TAG_variable" } } */
/* { dg-final { scan-assembler-times "DW_TAG_inlined_subroutine" 2 } } */
static int foo (int i)