function inlining in ARM/Thumb

Arvind Krishnaswamy arvind@CS.Arizona.EDU
Wed Jan 16 11:14:00 GMT 2002


Hi,
I notice that inspite of specifying optimisation level -O2, function
inling is done when I compile for an ARM target. However, this does not
happen if I choose a Thumb target. Is function inling done irrespective
of the target architecture and only dependent on compile time options?
Is ARM/Thumb treated differently from other architectures?

Thanks,
-Arvind



More information about the Gcc mailing list