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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|diagnostic,                 |wrong-code
                   |missed-optimization         |
            Summary|Function need not be        |Prevent short-circuiting of
                   |evaluated in logical        |logical expressions for
                   |expression                  |non-pure functions

--- Comment #20 from janus at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #18)
> This PR is now about a missed optimization in the middle-end.

Well, that was absolutely not my intention when I opened this PR, and it still
isn't. Quite the opposite: I don't think gfortran should apply more
optimizations, but less. I'm changing the title and keyword again to reflect
that.

If anyone is interested in fixing some possible missed-optimization problem,
please open a new PR for that.

Reply via email to