[Bug target/70574] [5/6 Regression] wrong code with -mavx2, read of partially initialised stack variable
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 8 17:22:00 GMT 2016
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
More information about the Gcc-bugs
mailing list