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 target/82703] [7/8 Regression] Wrong addition of std::array components with -O2 -ftree-loop-vectorize -ftree-slp-vectorize (works fine with -O2)


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 27 12:25:34 2017
New Revision: 254146

URL: https://gcc.gnu.org/viewcvs?rev=254146&root=gcc&view=rev
Log:
        PR target/82703
        * config/i386/i386-protos.h (maybe_get_pool_constant): Removed.
        * config/i386/i386.c (maybe_get_pool_constant): Removed.
        (ix86_split_to_parts): Use avoid_constant_pool_reference instead of
        maybe_get_pool_constant.
        * config/i386/predicates.md (zero_extended_scalar_load_operand):
        Likewise.

        * gcc.dg/pr82703.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr82703.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/i386/i386-protos.h
    branches/gcc-7-branch/gcc/config/i386/i386.c
    branches/gcc-7-branch/gcc/config/i386/predicates.md
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

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