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: Volatile MEMs in statement expressions and functions inlined as trees


On Dec 13, 2001, Richard Henderson <rth@redhat.com> wrote:

> On Thu, Dec 13, 2001 at 01:54:11PM -0800, Linus Torvalds wrote:
>> You misunderstand.
>> 
>> A plain "p = 0;" assignment does _not_ load anything from memory...

> Actually I don't misunderstand.  GCC _will_ do this iff that statement
> appears in an inlined function.  That is the bug that was originally
> reported.  I think aoliva has fixed this now, but I can't remember.

I've worked to fix it, and posted a patch, but now I'm stalled waiting
for a review (hint, hint :-)

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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