]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite, Darwin: Extend skipping of -g3 for more OS versions.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 19 Jun 2026 18:40:37 +0000 (19:40 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 20 Jun 2026 16:51:24 +0000 (17:51 +0100)
The dyld-based linker does not work with GCC's output for -g3 and that
is now in force from darwin23 onwards.

gcc/testsuite/ChangeLog:

* gcc.dg/debug/dwarf2/dwarf2-macro.c: Skip for Darwin23+.
* gcc.dg/debug/dwarf2/dwarf2-macro2.c: Likewise.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro.c
gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro2.c

index 7d7d0e695ac78ac2ec43610f94b1731029c7337c..330d64d29faa13cb13ffb84aa93d942b0bae58d0 100644 (file)
@@ -1,7 +1,7 @@
 /* Test to make sure the mcaro info includes a start file command for the main source */
 /* { dg-do compile } */
 /* { dg-options "-g3 -gdwarf -dA -fverbose-asm" } */
-/* { dg-final { scan-assembler "Start new file"  { xfail *-*-darwin23* } } } */
+/* { dg-final { scan-assembler "Start new file"  { xfail *-*-darwin2[3-5]* } } } */
 
 #define ADD(x) (M + x)
 
index 3baecb9599ce82c9776de495027f545b6fa32269..cbce3c2da05a16aa2ebd3663391619b92581d8ef 100644 (file)
@@ -1,7 +1,7 @@
 /* Test to make sure the macro info includes the predefined macros with line number 0.  */
 /* { dg-do compile } */
 /* { dg-options "-g3 -gdwarf -dA -fverbose-asm" } */
-/* { dg-final { scan-assembler "At line number 0" { xfail *-*-darwin23* } } } */
+/* { dg-final { scan-assembler "At line number 0" { xfail *-*-darwin2[3-5]* } } } */
 
 #define FOO 1
 int i;