[patch, Fortran] Fix PR 60522

Tobias Burnus burnus@net-b.de
Wed Mar 26 07:45:00 GMT 2014


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  <tkoenig@gcc.gnu.org>
>
>          PR fortran/60522
>          * frontend-passes.c (cfe_code):  Do not walk subtrees
>          for WHERE.
>
> 2014-04-25  Thomas Koenig  <tkoenig@gcc.gnu.org>
>
>          PR fortran/60522
>          * gfortran.dg/where_4.f90:  New test case.



More information about the Gcc-patches mailing list