https://gcc.gnu.org/g:674a643474cf8531ddb5b866fc92963acc3ef52a

commit 674a643474cf8531ddb5b866fc92963acc3ef52a
Author: Alexandre Oliva <ol...@adacore.com>
Date:   Thu May 8 02:18:28 2025 -0300

    [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.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/pr111409.c: Allow non-strict dwarf.

Diff:
---
 gcc/testsuite/gcc.dg/pr111409.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr111409.c b/gcc/testsuite/gcc.dg/pr111409.c
index 7d5190506624..d685879e64b9 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} } } */

Reply via email to