[Patch,AVR] Print no-return functions as JMP

Georg-Johann Lay avr@gjlay.de
Fri Oct 14 17:56:00 GMT 2011


Paolo Bonzini schrieb:
> On 10/14/2011 06:23 PM, Georg-Johann Lay wrote:
>> +@item -mjump-to-noreturn
>> +@opindex mjump-to-noreturn
>> +Use a jump instruction instead of a call instruction when calling a
>> +no-return functions.  This option is active if optimization is turned
>> +on and just affects the way a call instruction is printed out.
>> +Besides that, it has no effect on code generation or debug information.
> 
> I think this is not really accurate given Richard's input.
> 
> Paolo
> 

Confused.  The conclusion was to introduce a new command line option in order
to have individual control over this feature.  The option is named
-mjump-to-noreturn now instead of -mjump-noreturn. Is that what you mean?

Johann





More information about the Gcc-patches mailing list