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

            Bug ID: 80674
           Summary: trunk/gcc/fortran/trans-stmt.c:2578]: (style)
                    Redundant condition
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

trunk/gcc/fortran/trans-stmt.c:2578]: (style) Redundant condition: cp->low. '!A
|| (A && B)' is equivalent to '!A || B'

Source code is

          if (!cp->low
          || (cp->low
              && mpz_cmp (cp->low->value.integer,
                  cp->high->value.integer) != 0))

Reply via email to