How to stop gcc from not calling noinline functions
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Thu Feb 7 01:19:00 GMT 2008
> Date: Wed, 06 Feb 2008 15:59:21 -0800
> From: Mark Mitchell <mark@codesourcery.com>
> Richard Guenther wrote:
>
> > You can apart from the other suggestions also mark the function weak
> > which will prevent both inlining and pure/const analysis.
>
> How about just writing to a volatile variable from within the callee?
Can't we just please stick with the asm as agreed on (which
already *is* volatile and besides is recognizable as magical,
should the need arise), and have the documentation patch
approved by a >= middle-end maintainer? ;)
brgds, H-P
More information about the Gcc
mailing list