This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 3.1 Issues


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]