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:
parent
8692693732
commit
95ecbf4695
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user