This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] PR debug/42487, xfail scan-assembler on DW_AT_ranges in gcc.dg/debug/dwarf2/aranges-fnsec-1.c for darwin


    The scan-assembler on "DW_AT_ranges" in gcc.dg/debug/dwarf2/aranges-fnsec-1.c
should be xfail'd 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 (scan-assembler "DW_AT_ranges"): xfail *-*-darwin*.


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)
@@ -5,7 +5,7 @@
 /* { 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" } } */
-/* { dg-final { scan-assembler "DW_AT_ranges" } } */
+/* { dg-final { scan-assembler "DW_AT_ranges" { xfail *-*-darwin* } } } */
 
 int
 f (void)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]