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 17 Aug 2010, at 16:26, Richard Henderson wrote:

I'm not sure how to test for function sections for Darwin. Ordinarily I would think you would look for an error message from the compiler, but for some reason Darwin doesn't generate one and yet still fails to actually use function sections.

I guess that, because the darwin equivalent (.subsections_via_symbols) defaults 'on' for us, someone must have decided that an error message would be unproductive.


As you say, one is going to end up checking the target triplet anyway in this case.

cheers
Iain






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