testsuite: Add -gno-strict-dwarf option to dwarf2 inline[26].c tests
Some targets default to strict dwarf. 2025-03-17 John David Anglin <danglin@gcc.gnu.org> gcc/testsuite/ChangeLog: PR testsuite/119220 * gcc.dg/debug/dwarf2/inline2.c: Add -gno-strict-dwarf option. * gcc.dg/debug/dwarf2/inline6.c: Likewise.
This commit is contained in:
parent
3653c7d726
commit
45f7424ce8
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
|
||||
/* Explicitly use dwarf-2 because dwarf-5 might use DW_FORM_implicit_const
|
||||
which is hard to scan for. */
|
||||
/* { dg-options "-O -g3 -gdwarf-2 -dA -fgnu89-inline" } */
|
||||
/* { dg-options "-O -g3 -gdwarf-2 -gno-strict-dwarf -dA -fgnu89-inline" } */
|
||||
/* { dg-do compile } */
|
||||
|
||||
/* There are 6 inlined subroutines:
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
/* Explicitly use dwarf-5 which uses DW_FORM_implicit_const. */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-O -g3 -gdwarf-5 -dA -fgnu89-inline -gno-as-loc-support" } */
|
||||
/* { dg-options "-O -g3 -gdwarf-5 -gno-strict-dwarf -dA -fgnu89-inline -gno-as-loc-support" } */
|
||||
|
||||
/* There are 6 inlined subroutines:
|
||||
- One for each subroutine inlined into main, that's 3.
|
||||
|
|
Loading…
Add table
Reference in a new issue