[Bug libfortran/52087] program does not follow logical rules
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 2 08:36:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52087
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-02 08:34:15 UTC ---
(In reply to comment #0)
> if ( (nt_save.eqv..true.) .or. (nt_save.eqv..false.) ) then
Side remark: It often is clearer and avoids precedence issues if one writes
instead:
if (nt_save .or. .not. nt_save) then
The .eqv. and .neqv. operators are then only used when comparing two logical
variables with each other.
More information about the Gcc-bugs
mailing list