Volatile MEMs in statement expressions and functions inlined as trees

Alexandre Oliva aoliva@redhat.com
Fri Dec 14 12:36:00 GMT 2001


On Dec 14, 2001, Linus Torvalds <torvalds@transmeta.com> wrote:

> Simple example: you claim that you can create a lvalue out of an rvalue.

> And I give you the rvalue "1", and dispute your claim. You _cannot_ create
> a lvalue out of it. There is none.

void foo(int const &i) {
  // i is the lvalue corresponding to the 1 below
}

// ...

  foo(1);


Ok, I admit to be cheating a bit, because i will actually be bound to
a temporary created out of the rvalue 1, but still...

-- 
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



More information about the Gcc-patches mailing list