[Bug middle-end/39954] [4.5 Regression] Revision 146817 caused unaligned access in gcc.dg/torture/pr26565.c

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 28 23:48:00 GMT 2009



------- Comment #5 from pinskia at gcc dot gnu dot org  2009-04-28 23:48 -------
(In reply to comment #3)
> Indeed.  We likely fold the memcpy, but that should better preserve the
> known alignment.

What known alignment?
The alignment of the type is known to be the same alignment as long inside a
struct.

I mentioned the same reasoning back in PR 26565 in the first place.  Even
without looking into that bug report I can to the same conclusion as I did
before.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.5.0


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



More information about the Gcc-bugs mailing list