From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id 9ABEE3858D1E; Sat, 27 Apr 2024 16:08:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9ABEE3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714234137; bh=JIIRi8aUR/swSS8QpR7St+fNggJmkGcYM6lLIlgoO0c=; h=From:To:Subject:Date:From; b=jsatQye9BPpIVuh2IMgFntjqFaRxLoXzdImVMkPJk5ZhzqAiesWG0VNzWRoFPlSnc 6qZQGqMKmdN/ZEG9h+yAnZB7F+wwalWzyD0BscsO6qHxHK/j/Egwh/OcD/fmeBz6EQ TDe9tB595TdsJx8uwdAQK6orLjyPcMNTpcOpta6w= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-11378] Testsuite, DWARF2: adjust regexp to match darwin output X-Act-Checkin: gcc X-Git-Author: Francois-Xavier Coudert X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: a68f243ec78b96bce9f10ad4c2c86c1b2e6015b7 X-Git-Newrev: 248b70a39b361ec425a5ba1131bc54f1a319f121 Message-Id: <20240427160857.9ABEE3858D1E@sourceware.org> Date: Sat, 27 Apr 2024 16:08:57 +0000 (GMT) List-Id: https://gcc.gnu.org/g:248b70a39b361ec425a5ba1131bc54f1a319f121 commit r11-11378-g248b70a39b361ec425a5ba1131bc54f1a319f121 Author: Francois-Xavier Coudert Date: Sun Aug 20 12:53:19 2023 +0200 Testsuite, DWARF2: adjust regexp to match darwin output gcc/testsuite/ChangeLog: * gcc.dg/debug/dwarf2/inline4.c: Ajdust regexp to match darwin output. (cherry picked from commit 94e68ce96c285e479736851f1ad8cc87c8c3ff0c) Diff: --- gcc/testsuite/gcc.dg/debug/dwarf2/inline4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/inline4.c b/gcc/testsuite/gcc.dg/debug/dwarf2/inline4.c index 2faef6e2a4f..22eb35fcf09 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)