https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90970

            Bug ID: 90970
           Summary: A suspicious code in builtins.c
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Starting from r255755 Martin added:

cat -n gcc/builtins.c | less

  3477        /* Use the lower end for MAXREAD from now on.  */
  3478        if (range[0])
  3479          maxread = range[0];

Note that starting from this point the variable maxread is not used.
Seen with clang-static-analyzer

Reply via email to