[Patch, Fortran] PR 57160: short-circuit IF only with -ffrontend-optimize

Nicolas Koenig nk@koenigni.com
Wed Jul 25 20:59:00 GMT 2018


HI Janus,

> To expand on that point: I really don't see why a dedicated option is
> needed. Short-circuiting of logical expressions is certainly an
> "optimization" (which is allowed but not required by the Fortran
> standard),

If you do mean optimizations, why the quotes?

And if you think this is an optimization, why did you object to
my patch which actually used the leeway given by the
Fortran standard?

And if you don't think this is an optimization, coupling this to
an -O option is not the right way.

Regards

	Thomas



More information about the Fortran mailing list