From: Alexandre Oliva Date: Wed, 25 Mar 2026 09:45:35 +0000 (-0300) Subject: [testsuite] [vxworks] add -gno-strict-dwarf to pr111409.c X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9bdc45a302ef5cef1a42ea535106907436c20b50;p=thirdparty%2Fgcc.git [testsuite] [vxworks] add -gno-strict-dwarf to pr111409.c The expected macro debug information is not issued with -gstrict-dwarf, and ports such as vxworks default to that. Allow non-strict dwarf for the test. pr115066.c needs the same problem adjustment. for gcc/testsuite/ChangeLog * gcc.dg/pr111409.c: Allow non-strict dwarf. * gcc.dg/pr115066.c: Likewise. --- diff --git a/gcc/testsuite/gcc.dg/pr111409.c b/gcc/testsuite/gcc.dg/pr111409.c index 7d519050662..d685879e64b 100644 --- a/gcc/testsuite/gcc.dg/pr111409.c +++ b/gcc/testsuite/gcc.dg/pr111409.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-skip-if "split DWARF unsupported" { hppa*-*-hpux* powerpc*-ibm-aix* *-*-darwin* } } */ -/* { dg-options "-gsplit-dwarf -g3 -dA" } */ +/* { dg-options "-gsplit-dwarf -g3 -dA -gno-strict-dwarf" } */ /* { dg-final { scan-assembler-times {\.section\t"?\.debug_macro} 1 } } */ /* { dg-final { scan-assembler-not {\.byte\s+0x7\s*#\s*Import} } } */ diff --git a/gcc/testsuite/gcc.dg/pr115066.c b/gcc/testsuite/gcc.dg/pr115066.c index aadc4900467..d79233f2e79 100644 --- a/gcc/testsuite/gcc.dg/pr115066.c +++ b/gcc/testsuite/gcc.dg/pr115066.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-skip-if "split DWARF unsupported" { hppa*-*-hpux* powerpc*-ibm-aix* *-*-darwin* } } */ -/* { dg-options "-gsplit-dwarf -g3 -dA -gdwarf-4" } */ +/* { dg-options "-gsplit-dwarf -g3 -dA -gdwarf-4 -gno-strict-dwarf" } */ /* { dg-final { scan-assembler-times {\.section\t"?\.debug_macro} 1 } } */ /* { dg-final { scan-assembler-not {\.byte\t0x5\t[^\n\r]* Define macro strp} } } */ /* { dg-final { scan-assembler {\.byte\t0xb\t[^\n\r]* Define macro strx|\.byte\t0x1\t[^\n\r]* Define macro} } } */