This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49444] IV-OPTs changes an unaligned loads into aligned loads incorrectly
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Jun 2011 16:25:06 +0000
- Subject: [Bug tree-optimization/49444] IV-OPTs changes an unaligned loads into aligned loads incorrectly
- Auto-submitted: auto-generated
- References: <bug-49444-4@http.gcc.gnu.org/bugzilla/>
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