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
This commit is contained in:
Martin Liska 2019-08-28 08:39:47 +02:00 committed by Martin Liska
parent 8692693732
commit 95ecbf4695
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,9 @@
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>
PR tree-optimization/91567

View File

@ -3475,11 +3475,6 @@ check_access (tree exp, tree, tree, tree dstwrite,
if (maxread)
{
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))
{
location_t loc = tree_nonartificial_location (exp);