From 94e68ce96c285e479736851f1ad8cc87c8c3ff0c Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Sun, 20 Aug 2023 12:53:19 +0200 Subject: Testsuite, DWARF2: adjust regexp to match darwin output gcc/testsuite/ChangeLog: * gcc.dg/debug/dwarf2/inline4.c: Ajdust regexp to match darwin output. --- gcc/testsuite/gcc.dg/debug/dwarf2/inline4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') 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) -- cgit v1.1