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

Jack Howarth howarth@bromo.med.uc.edu
Tue Aug 17 16:19:00 GMT 2010


On Tue, Aug 17, 2010 at 08:58:04AM -0700, Richard Henderson wrote:
> On 08/17/2010 08:48 AM, Jack Howarth wrote:
> >    Aren't the targets which don't support function sections also
> > those that set TARGET_ASM_FUNCTION_RODATA_SECTION to default_no_function_rodata_section?
> 
> They should be the ones for which targetm.have_named_sections
> is false.  Er, which is now universally true, says grep.  We
> don't support any a.out targets anymore?
> 
> I really have no idea, apparently.
> 
> > Also, I noticed that we are currently passing some of the other -function-sections tests
> > on darwin...
> 
> Iain explained this one -- .subsections_via_symbols allows many
> of the -function-sections type tests to succeed.  So, I'm really
> not sure how to proceed.  Mark?

Richard
   I wonder if this means that some of those dg-skip-if in the other
testcases passing -ffunction-sections are just stale entries from
the depreciated a.out support? Does anyone know if rs6000-*-aix*,
powerpc*-*-aix* and hppa*-*-hpux* currently support function sections?
Also it is strange that rs6000-*-aix* and powerpc*-*-aix* skip
g++.dg/eh/gcsec1.C and gcc.dg/special/gcsec-1.c but hppa*-*-hpux*
skips gcc.dg/ucnid-12.c. Not really coherent.
         Jack

> 
> 
> r~



More information about the Gcc-patches mailing list