Thomas Koenig wrote:
Hello world,
print *, 'Hello Thomas'
the attached patch fixes the regression (after some thought of what might still be optimized, which isn't much :-) Regression-tested. OK for trunk?
Looks good to me. (I wonder whether one should also include Mikael's test case, but I am not sure whether it is worth a run-time test.)
Thanks for the patch! Tobias
2014-04-25 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/60522 * frontend-passes.c (cfe_code): Do not walk subtrees for WHERE. 2014-04-25 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/60522 * gfortran.dg/where_4.f90: New test case.