This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to stop gcc from not calling noinline functions
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: dave dot korn at artimi dot com
- Cc: hans-peter dot nilsson at axis dot com, bonzini at gnu dot org, gcc at gcc dot gnu dot org
- Date: Mon, 14 Jan 2008 12:43:02 +0100
- Subject: Re: How to stop gcc from not calling noinline functions
> 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