[cfe-dev] naked attribute

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu May 9 08:33:16 PDT 2013


On 9 May 2013 11:20, Anton Korobeynikov <anton at korobeynikov.info> wrote:
>> I am with Anton on this. I don't think we should have a user visible
>> switch for enabling/disabling the support in a particular
>> architecture. I think the complete decision tree is
> Looks sane. Maybe we'd not produce a warning at all, unless the target
> explicitly asks for this. It seems that currently MIPS is the only
> such target ;)

OK. I think we can all agree that producing an unreachable instead of
a ret for naked funcions is an improvement. I suggest we do that first
and then see which warnings, if any, should be produced.

Cheers,
Rafael



More information about the cfe-dev mailing list