[Bug tree-optimization/68786] Aligned masked store is generated for unaligned pointer
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 8 16:57:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68786
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 36963
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36963&action=edit
gcc6-pr68786.patch
Untested fix. Not adding any testcase, because the one included here is bad -
Micha's loop splitting optimization is likely going to turn that into two
separate loops, plus to avoid undefined behavior one has to call test with b <=
0 and in that case it will be always < 7.
More information about the Gcc-bugs
mailing list