This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, Fortran] Fix PR 60522


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]