This is the mail archive of the gcc-cvs@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]

r275297 - in /trunk/gcc: ChangeLog gimple-ssa-s...


Author: ebotcazou
Date: Mon Sep  2 08:14:47 2019
New Revision: 275297

URL: https://gcc.gnu.org/viewcvs?rev=275297&root=gcc&view=rev
Log:
	* gimple-ssa-strength-reduction.c (valid_mem_ref_cand_p): New function.
	(replace_ref): Do not replace a chain of only two candidates which are
	valid memory references.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/slsr-42.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-ssa-strength-reduction.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]