[Bug fortran/80674] New: trunk/gcc/fortran/trans-stmt.c:2578]: (style) Redundant condition
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Mon May 8 17:10:00 GMT 2017
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))
More information about the Gcc-bugs
mailing list