https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599
--- Comment #31 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Thu, May 17, 2018 at 05:37:51AM +0000, janus at gcc dot gnu.org wrote: > > > The order of the evaluation of ping() and pong() is > > not specified by the Fortran standard. > > This PR is not about reordering, but about short-circuiting. > AFAICT this PR is about a function with side-effects, and re-ordering can have an potentially undesirable result.