This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: auto-detected pure functions are ``inlined'' in spire of noinline
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Geoff Keating <geoffk at geoffk dot org>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: 06 Dec 2003 23:50:24 +0100
- Subject: Re: auto-detected pure functions are ``inlined'' in spire of noinline
- Organization: Integrable Solutions
- References: <or4qwehh9v.fsf@livre.redhat.lsd.ic.unicamp.br><jm1xrh1s9a.fsf@desire.geoffk.org>
Geoff Keating <geoffk@geoffk.org> writes:
| > (ii) arrange for attribute noinline to disable the code that
| > auto-detects the purity/constness of functions.
|
| I think if you choose (ii), it would be better to rename the
| attribute, since 'noinline' will become a somewhat misleading name. I
| suggest 'volatile', since I think that's the behaviour you really
| want.
Ouch! Will we also have 'restrict', 'mutable' or 'register' functions?
;-p
-- Gaby