This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]