This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.1 Issues
- From: Richard Henderson <rth at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: Roger Sayle <roger at eyesopen dot com>, gcc-patches at gcc dot gnu dot org, Jakub Jelinek <jakub at redhat dot com>, Mark Mitchell <mark at codesourcery dot com>
- Date: Sun, 10 Mar 2002 14:31:16 -0800
- Subject: Re: GCC 3.1 Issues
- References: <Pine.LNX.4.33.0203092047240.18291-100000@www.eyesopen.com> <u8ofhwj51t.fsf@gromit.moeb>
On Sun, Mar 10, 2002 at 07:43:58AM +0100, Andreas Jaeger wrote:
> But the inline function does not "modify memory in an unpredictable
> fashion", we just access it.
There is no implicit memory read associated with asms,
if that's what you are asking.
> So, my questions are:
> - is the inline function correct?
No. It reads from memory without representing that fact
in any way.
> - is the manual correct?
Yes, but perhaps it's not as verbose as it needs to be.
r~