r254313 - in /trunk/gcc: ChangeLog tree-ssa-dse.c

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Nov 1 15:44:00 GMT 2017


Author: rsandifo
Date: Wed Nov  1 15:44:18 2017
New Revision: 254313

URL: https://gcc.gnu.org/viewcvs?rev=254313&root=gcc&view=rev
Log:
Make tree-ssa-dse.c:normalize_ref return a bool

This patch moves the check for an overlapping byte to normalize_ref
from its callers, so that it's easier to convert to poly_ints later.
It's not really worth it on its own.

2017-11-01  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
	* tree-ssa-dse.c (normalize_ref): Check whether the ranges overlap
	and return false if not.
	(clear_bytes_written_by, live_bytes_read): Update accordingly.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-dse.c



More information about the Gcc-cvs mailing list