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 tree-optimization/65136] [5 Regression] VRP inserts unnecessary constant copy in the loop


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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Feb 20 16:58:11 2015
New Revision: 220876

URL: https://gcc.gnu.org/viewcvs?rev=220876&root=gcc&view=rev
Log:
2015-02-20  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/65136
    * tree-ssa-propagate.c: Include cfgloop.h.
    (replace_phi_args_in): Avoid replacing loop latch edge PHI
    arguments with constants.

    * gcc.dg/tree-ssa/pr65136.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr65136.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-propagate.c


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