This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, Fortran] Fix PR 60522
- From: Tobias Burnus <burnus at net-b dot de>
- To: Thomas Koenig <tkoenig at netcologne dot de>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 26 Mar 2014 08:21:49 +0100
- Subject: Re: [patch, Fortran] Fix PR 60522
- Authentication-results: sourceware.org; auth=none
- References: <5331372B dot 4080004 at netcologne dot de>
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.