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/80170] SLP vectorization creates aligned access


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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Mar 27 08:07:49 2017
New Revision: 246491

URL: https://gcc.gnu.org/viewcvs?rev=246491&root=gcc&view=rev
Log:
2017-03-27  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/80170
        * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Make
        sure DR/SCEV didnt fold in constants we do not see when looking
        at the reference base alignment.

        * gcc.dg/pr80170.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/pr80170.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-data-refs.c

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