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/68786] Aligned masked store is generated for unaligned pointer


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.

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