[Bug tree-optimization/80153] ivopt generate wrong code
amker at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 10 16:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80153
--- Comment #9 from amker at gcc dot gnu.org ---
Author: amker
Date: Mon Apr 10 16:54:14 2017
New Revision: 246811
URL: https://gcc.gnu.org/viewcvs?rev=246811&root=gcc&view=rev
Log:
PR tree-optimization/80153
* tree-ssa-loop-ivopts.c (add_iv_candidate_for_use): Check and
remove POINTER_PLUS_EXPR's base part directly, rather than through
aff_tree.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-loop-ivopts.c
More information about the Gcc-bugs
mailing list