[Bug fortran/85599] Prevent short-circuiting of logical expressions for non-pure functions

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Mon Jun 11 11:48:00 GMT 2018


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

--- Comment #35 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> gfc_warning(OPT_Wsurprising, "Impure function %qs at %L may not be
> evaluated", ...)

I am perfectly happy with the short-circuit evaluation and I don't want any
warning when I use -Wall.


More information about the Gcc-bugs mailing list