Hi.

I would like to remove the leftover that hasn't been used since
when it was introduced.

Ready for trunk?
Thanks,
Martin

gcc/ChangeLog:

2019-08-27  Martin Liska  <mli...@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.
---
 gcc/builtins.c | 5 -----
 1 file changed, 5 deletions(-)


diff --git a/gcc/builtins.c b/gcc/builtins.c
index f902e246f1f..0b25adc17a0 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -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);

Reply via email to