[Bug tree-optimization/49444] IV-OPTs changes an unaligned loads into aligned loads incorrectly

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 17 16:25:00 GMT 2011


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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-06-17 16:25:04 UTC ---
(In reply to comment #4)
> 
> Well, that will then still run into the indirect-ref issue as
> the expansion for target-mem-refs and mem-refs works the same way.
> Only targets that support movmisalign will generate unaligned
> loads (which targets currently only define for vector modes I think).

It works in the case which I reported because the mode is BLKmode.  I tried to
get a testcase that would still fail after this but I could not find one as
IV-OPTs would use a->b for that still.

Thanks,
Andrew Pinski



More information about the Gcc-bugs mailing list