re PR tree-optimization/63148 (r187042 causes auto-vectorization failure for X86...
authorRichard Biener <rguenther@suse.de>
Fri, 5 Sep 2014 08:23:32 +0000 (08:23 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 5 Sep 2014 08:23:32 +0000 (08:23 +0000)
commitf65586dcd19846071fd94fed4fb1bf91843887d1
tree8e4e5406e368bf468ff117207d295e346a08f02a
parentaaea00aa78750b8294842dd07fdf6a426e1c48b2
re PR tree-optimization/63148 (r187042 causes auto-vectorization failure for X86 for -m32.)

2014-09-05  Richard Biener  <rguenther@suse.de>

PR middle-end/63148
* fold-const.c (try_move_mult_to_index): Remove.
(fold_binary_loc): Do not call it.
* tree-data-ref.c (dr_analyze_indices): Strip conversions
from the base object again.

c-family/
* c-format.c (check_format_arg): Properly handle
effectively signed POINTER_PLUS_EXPR offset.

* gcc.dg/vect/pr63148.c: New testcase.
* c-c++-common/pr19807-1.c: Likewise.
* g++.dg/tree-ssa/pr19807.C: Adjust.
* g++.dg/tree-ssa/tmmti-2.C: Remove.

From-SVN: r214941
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-format.c
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr19807-1.c [new file with mode: 0644]
gcc/testsuite/g++.dg/tree-ssa/pr19807.C
gcc/testsuite/g++.dg/tree-ssa/tmmti-2.C [deleted file]
gcc/testsuite/gcc.dg/vect/pr63148.c [new file with mode: 0644]
gcc/tree-data-ref.c