This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 69544
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: Dominique d'Humières <dominiq at lps dot ens dot fr>
- Cc: fortran at gcc dot gnu dot org, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 1 Nov 2016 18:15:56 +0100
- Subject: Re: [patch, fortran] Fix PR 69544
- Authentication-results: sourceware.org; auth=none
- References: <99F78495-D19C-41A6-AC2A-4A360985F888@lps.ens.fr>
Hi Dominique,
The patch fixes the ICE due to the missing gfc_current_locus in the
last one, but the same should be applied to match_simple_where,
otherwise one gets an ICE for statements such as
if (n==10) where (txt(1:3) /= '' ) y(1:3,i,j) = txt(1:3)
I can confirm that the bug exists. Because the obvious and simple fix
caused a boatload of regressions for reasons I cannot yet understand, I
have opened PR 78178 for the other test case, and committed the existing
fix to trunk so far.
Am rebuilding my tree at the moment, maybe this will help.
Regards
Thomas