http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45722

--- Comment #34 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2010-11-12 
17:36:43 UTC ---
> The patch in comment #16 makes sense (it's similar to what we do in
> memcpy folding to avoid the situation - and to avoid re-writing of
> strict-alignment target handling in memory reference expanding).

Why not always build the COMPONENT_REF if there is a COMPONENT_REF?  Testing
DECL_PACKED in the optimizer isn't really appropriate.

Reply via email to