[PR c++/20280] hoist indirect_ref out of addressable cond_exprs
Alexandre Oliva
aoliva@redhat.com
Fri Mar 4 06:34:00 GMT 2005
On Mar 3, 2005, Andrew Pinski <pinskia@physics.uc.edu> wrote:
> On Mar 3, 2005, at 2:50 AM, Alexandre Oliva wrote:
>> I'm bootstrapping this on x86_64-linux-gnu, along with the patch for
>> PR c++/20103; it's also passed C++ regression testing. Ok to install
>> if bootstrap and all-languages regression testing passes?
> I think this is the wrong approach,
Err... But AFAICT this is exactly the approach RTH suggested to cope
with the issue, except for the removal of the unnecessary artificial
decl before gimplification.
> we should be doing the same for all types (well except for
> bitfields) and not just "addressable" types,
Agreed. That's relatively easy to fix.
Improved patch follows. Ok to install?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp-gimplify-lvalue-cond-expr.patch
Type: text/x-patch
Size: 4722 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050304/ff6433a6/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