mthumb: generate a tail-call

Paul Brook paul@codesourcery.com
Wed May 10 21:35:00 GMT 2006


On Wednesday 10 May 2006 21:38, Shaun Jackman wrote:
> What optimisation option is needed to prod arm-elf-gcc -mthumb to
> generate a tail call? ARM works as expected.

Thumb only has very limited (256 byte) direct branch offsets, so tail calls 
aren't possible/useful.

Paul



More information about the Gcc mailing list