https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Assignee|tkoenig at gcc dot gnu.org |janus at gcc dot gnu.org Summary|Prevent short-circuiting of |warn about short-circuiting |logical expressions for |of logical expressions for |non-pure functions |non-pure functions --- Comment #36 from janus at gcc dot gnu.org --- I'm changing the title of this PR, in order to reflect the state to which the longish discussion converged, namely that we plan to keep gfortran's short-circuiting behavior as is for now, but throw warnings for affected code (with -Wfuction-elimination). Also: Assigning to myself. Latest patch at https://gcc.gnu.org/ml/fortran/2018-07/msg00065.html