[patch] Add new warning -Wtrampolines

Gabriel Dos Reis dosreis@gmail.com
Fri May 7 01:17:00 GMT 2010


On Thu, May 6, 2010 at 12:11 PM, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
> * Eric Botcazou wrote on Thu, May 06, 2010 at 09:24:46AM CEST:
>> > This patch add new warning -Wtrampolines for making the compile to warn
>> > when it generating trampoline in object that requires executable stack.
>
>> As Andrew pointed out, the wording of the warning isn't correct for all
>> platforms (IA-64 for example) so it needs to be rephrased, e.g:
>
> If it needs to be rephrased anyway, why not make it -Wexecutable-stack
> instead?  Isn't it that the part that is interesting here?

I agree with this suggestion.



More information about the Gcc-patches mailing list