diff mbox

PR debug/42487, skip on darwin

Message ID 20100817001942.GA17264@bromo.med.uc.edu
State New
Headers show

Commit Message

Jack Howarth Aug. 17, 2010, 12:19 a.m. UTC
The gcc.dg/debug/dwarf2/aranges-fnsec-1.c testcase should be skipped on
*-*-darwin* since that target doesn't support -ffunction-sections. Tested on
x86_64-apple-darwin10. Okay for gcc trunk and 4.5.2?
                 Jack

2010-08-16  Jack Howarth <howarth@bromo.med.uc.edu>

	PR debug/42487
	* gcc.dg/debug/dwarf2/aranges-fnsec-1.c: Skip on darwin.
diff mbox

Patch

Index: gcc/testsuite/gcc.dg/debug/dwarf2/aranges-fnsec-1.c
===================================================================
--- gcc/testsuite/gcc.dg/debug/dwarf2/aranges-fnsec-1.c	(revision 163286)
+++ gcc/testsuite/gcc.dg/debug/dwarf2/aranges-fnsec-1.c	(working copy)
@@ -2,6 +2,7 @@ 
    text section if nothing went in there.  */
 /* Origin: Joseph Myers <joseph@codesourcery.com> */
 /* { dg-do compile } */
+/* { dg-skip-if "" { *-*-darwin* } { "*" } { "" } } */
 /* { dg-options "-gdwarf-2 -ffunction-sections -w -dA" } */
 /* { dg-final { scan-assembler-not "\\.Letext0-\\.Ltext0" } } */
 /* { dg-final { scan-assembler-not "\\.Ltext0\[^\n\r\]*Offset 0x0" } } */