This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] PR debug/42487, xfail scan-assembler on DW_AT_ranges in gcc.dg/debug/dwarf2/aranges-fnsec-1.c for darwin
- From: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: mikestump at comcast dot net
- Date: Mon, 16 Aug 2010 19:32:14 -0400
- Subject: [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)