[Bug fortran/80674] trunk/gcc/fortran/trans-stmt.c:2578]: (style) Redundant condition

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Sun May 14 16:13:00 GMT 2017


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

--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Jerry DeLisle from comment #2)
> Is it guaranteed for '!A || B'?  Is it guaranteed that B will 
> not be executed if !A is true?

Yes. See C FAQ.

http://c-faq.com/expr/shortcircuit.html


More information about the Gcc-bugs mailing list