How to stop gcc from not calling noinline functions

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Mon Jan 14 12:18:00 GMT 2008


> From: "Dave Korn" <dave.korn@artimi.com>
> Date: Mon, 14 Jan 2008 11:26:33 -0000

>   If you wanted to stick to standard C, you could surely force it with a call
> through function pointer, perhaps?  (You might need to make it volatile to
> fool IPA.)

No.  No tricks in the calling function.  To reiterate my main
use: test-cases.  Changing from a direct function call in the
original code to indirect is too much a difference, not to say a
(pointer to) volatile.

brgds, H-P



More information about the Gcc mailing list