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/70574] [5/6 Regression] wrong code with -mavx2, read of partially initialised stack variable


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Apr  8 17:21:17 2016
New Revision: 234833

URL: https://gcc.gnu.org/viewcvs?rev=234833&root=gcc&view=rev
Log:
        PR rtl-optimization/70574
        * fwprop.c (forward_propagate_and_simplify): Don't add
        REG_EQUAL note if DF_REF_REG (use) is a paradoxical subreg.
        (try_fwprop_subst): Don't add REG_EQUAL note if there are any
        paradoxical subregs within *loc.

        * gcc.target/i386/avx2-pr70574.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/avx2-pr70574.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fwprop.c
    trunk/gcc/testsuite/ChangeLog

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