A query regarding the implementation of pragmas

Jim Wilson wilson@tuliptree.org
Mon Apr 14 18:14:00 GMT 2008


Mohamed Shafi wrote:
> For a function call will i be able to implement long call/short call
> for the same function at different locations?
> Say fun1 calls bar and fun2 calls bar. I want short-call to be
> generated for bar in fun1 and long-call to be generated in fun2.
> Is to possible to implement this in the back-end using pragmas?

A simple grep command shows that both arm and rs6000 already both 
support long call pragmas.

Jim



More information about the Gcc mailing list