[committed] Fix failure of gcc.dg/debug/dwarf2/inline5.c on hppa

Message ID e17f182c-dbb6-386e-32eb-4e871ef4afa7@bell.net
State New
Headers show
Series
  • [committed] Fix failure of gcc.dg/debug/dwarf2/inline5.c on hppa
Related show

Commit Message

John David Anglin March 9, 2019, 10:18 p.m.
This fixes test failure on hppa.

Committed to trunk.

Dave
-- 
John David Anglin  dave.anglin@bell.net

2019-03-09  John David Anglin  <dave.anglin@bell.net>

	PR testsuite/89472
	* gcc.dg/debug/dwarf2/inline5.c: XFAIL one scan-assembler-times check.

    origins on the lexical blocks (knowing that the abstract instance has
    no attribute following the DW_TAG_lexical_block.  */

Patch

Index: gcc.dg/debug/dwarf2/inline5.c
===================================================================
--- gcc.dg/debug/dwarf2/inline5.c	(revision 269539)
+++ gcc.dg/debug/dwarf2/inline5.c	(working copy)
@@ -5,7 +5,7 @@ 
 /* { 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\\)\[^#/!@;\\|\]*\[#/!@;\\|\]+ +\[^#/!@\\|\]*\\(DIE \\(0x\[0-9a-f\]*\\)
DW_TAG_variable" 1 { xfail hppa*-*-* } } } */
 /* We do not know which is output first so look for both invalid abstract