Skip to content

Commit da0aa94

Browse files
committed
testsuite, Darwin: Extend skipping of -g3 for more OS versions.
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>
1 parent 0266ef2 commit da0aa94

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Test to make sure the mcaro info includes a start file command for the main source */
22
/* { dg-do compile } */
33
/* { dg-options "-g3 -gdwarf -dA -fverbose-asm" } */
4-
/* { dg-final { scan-assembler "Start new file" { xfail *-*-darwin23* } } } */
4+
/* { dg-final { scan-assembler "Start new file" { xfail *-*-darwin2[3-5]* } } } */
55

66
#define ADD(x) (M + x)
77

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Test to make sure the macro info includes the predefined macros with line number 0. */
22
/* { dg-do compile } */
33
/* { dg-options "-g3 -gdwarf -dA -fverbose-asm" } */
4-
/* { dg-final { scan-assembler "At line number 0" { xfail *-*-darwin23* } } } */
4+
/* { dg-final { scan-assembler "At line number 0" { xfail *-*-darwin2[3-5]* } } } */
55

66
#define FOO 1
77
int i;

0 commit comments

Comments
 (0)