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]

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


On 08/16/2010 04:32 PM, Jack Howarth wrote:
> 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* } } } */

You should use a dg-skip-if.  The other two tests *should* be failing,
but don't because the regexp's incorrectly use a "." unconditionally.


r~


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