Commit 95ecbf46 by Martin Liska Committed by Martin Liska

Remove code leftover that has never been used.

2019-08-28  Martin Liska  <mliska@suse.cz>

	PR tree-optimization/90970
	* builtins.c (check_access): Remove assignment to maxread
	as it hasn't been used since when it was introduced in r255755.

From-SVN: r274983
parent 86926937
2019-08-28 Martin Liska <mliska@suse.cz>
PR tree-optimization/90970
* builtins.c (check_access): Remove assignment to maxread
as it hasn't been used since when it was introduced in r255755.
2019-08-27 Martin Sebor <msebor@redhat.com> 2019-08-27 Martin Sebor <msebor@redhat.com>
PR tree-optimization/91567 PR tree-optimization/91567
......
...@@ -3475,11 +3475,6 @@ check_access (tree exp, tree, tree, tree dstwrite, ...@@ -3475,11 +3475,6 @@ check_access (tree exp, tree, tree, tree dstwrite,
if (maxread) if (maxread)
{ {
get_size_range (maxread, range); get_size_range (maxread, range);
/* Use the lower end for MAXREAD from now on. */
if (range[0])
maxread = range[0];
if (range[0] && dstsize && tree_fits_uhwi_p (dstsize)) if (range[0] && dstsize && tree_fits_uhwi_p (dstsize))
{ {
location_t loc = tree_nonartificial_location (exp); location_t loc = tree_nonartificial_location (exp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment