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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org
             Blocks|                            |50137
   Target Milestone|---                         |4.7.0
            Summary|76 new fails with rev.      |[4.7 Regression] 76 new
                   |177691                      |fails with rev. 177691

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-09-08 
11:58:54 UTC ---
Supposedly the MEMs get a mode but the alignment isn't that of the mode?
OTOH this is an array of chars:

          array_type = build_array_type (char_type_node,
                                         build_index_type
                                           (size_binop (MINUS_EXPR,
                                                        arg2, size_int (1))));

we should never layout this in a way that array_type gets anything but
BLKmode (well, maybe QImode for size 1).

That said, it really needs some more investigation.  Possible causes must
be similar to those that made us change memcpy -> MEM_REF folding in
fold_builtin_memory_op so many times for STRICT_ALIGNMENT targets.

Reply via email to