https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100253

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:92ffe7c3b6ffee8fd6ef92a5b3b4cc09263b01ee

commit r10-10260-g92ffe7c3b6ffee8fd6ef92a5b3b4cc09263b01ee
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Apr 29 11:52:08 2021 +0200

    tree-optimization/100253 - fix bogus aligned vectorized loads/stores

    At some point DR_MISALIGNMENT was supposed to be -1 when the
    access was not element aligned.  That's obviously not true at this
    point so this adjusts both store and load vectorizing to no longer
    assume this which in turn allows simplifying the code.

    2021-04-29  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/100253
            * tree-vect-stmts.c (vectorizable_load): Do not assume
            element alignment when DR_MISALIGNMENT is -1.
            (vectorizable_store): Likewise.

            * g++.dg/pr100253.C: New testcase.
  • [Bug tree-optimization/100253] ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to