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>
/* 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)
/* 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;