From 4cf52be57abd745a846e6d724e0763f9617f816d Mon Sep 17 00:00:00 2001 From: jakub Date: Wed, 3 Sep 2008 20:28:52 +0000 Subject: [PATCH] PR debug/37322 * gfortran.dg/debug/pr35154-dwarf2.f: Fix up scan-assembler regexps. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139954 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gfortran.dg/debug/pr35154-dwarf2.f | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 70f7eb7..7fe9ef6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-09-03 Jakub Jelinek + + PR debug/37322 + * gfortran.dg/debug/pr35154-dwarf2.f: Fix up scan-assembler regexps. + 2008-09-03 Andrew Pinski PR middle-end/36445 diff --git a/gcc/testsuite/gfortran.dg/debug/pr35154-dwarf2.f b/gcc/testsuite/gfortran.dg/debug/pr35154-dwarf2.f index d5003a3..b7586ea 100644 --- a/gcc/testsuite/gfortran.dg/debug/pr35154-dwarf2.f +++ b/gcc/testsuite/gfortran.dg/debug/pr35154-dwarf2.f @@ -25,13 +25,13 @@ C { dg-options "-dA" } return end -C { dg-final { scan-assembler "(DIE.*DW_TAG_common_block)" } } -C { dg-final { scan-assembler "DW_AT_name: \"__BLNK__\"" } } -C { dg-final { scan-assembler "(DIE.*DW_TAG_variable)" } } -C { dg-final { scan-assembler "\"i.*\".*DW_AT_name" } } -C { dg-final { scan-assembler "\"j.*\".*DW_AT_name" } } -C { dg-final { scan-assembler "(DIE.*DW_TAG_common_block)" } } -C { dg-final { scan-assembler "DW_AT_name: \"label\"" } } -C { dg-final { scan-assembler "(DIE.*DW_TAG_variable)" } } -C { dg-final { scan-assembler "\"l.*\".*DW_AT_name" } } -C { dg-final { scan-assembler "\"m.*\".*DW_AT_name" } } +C { dg-final { scan-assembler "DIE\[^\n\]*DW_TAG_common_block" } } +C { dg-final { scan-assembler "(DW_AT_name: \"__BLNK__\"|\"__BLNK__\[^\n\]*\"\[^\n\]*DW_AT_name)" } } +C { dg-final { scan-assembler "DIE\[^\n\]*DW_TAG_variable" } } +C { dg-final { scan-assembler "\"i\[^\n\]*\"\[^\n\]*DW_AT_name" } } +C { dg-final { scan-assembler "\"j\[^\n\]*\"\[^\n\]*DW_AT_name" } } +C { dg-final { scan-assembler "DIE\[^\n\]*DW_TAG_common_block" } } +C { dg-final { scan-assembler "(DW_AT_name: \"label\"|\"label\[^\n\]*\"\[^\n\]*DW_AT_name)" } } +C { dg-final { scan-assembler "DIE\[^\n\]*DW_TAG_variable" } } +C { dg-final { scan-assembler "\"l\[^\n\]*\"\[^\n\]*DW_AT_name" } } +C { dg-final { scan-assembler "\"m\[^\n\]*\"\[^\n\]*DW_AT_name" } } -- 2.7.4