[PR c++/20103] failure to gimplify constructors for addressable types

Alexandre Oliva aoliva@redhat.com
Fri Mar 4 23:22:00 GMT 2005


On Mar  3, 2005, Andrew Pinski <pinskia@physics.uc.edu> wrote:

> I think this is the wrong approach.  The front-end and not
> the gimplifier should be creating these temporaries, I mentioned
> this already in the bug.

How about this?

I tried with the TARGET_EXPR by itself, but it failed to be recognized
as an lvalue, so I introduced the compound expr.

Testing on x86_64-linux-gnu.  Ok to install if it passes?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp-compound-literal-is-lvalue.patch
Type: text/x-patch
Size: 1998 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050304/5d2b9835/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


More information about the Gcc-patches mailing list