This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR32236 - internal compiler error: in gfc_assign_data_value, at fortran/data.c:288
- From: Jerry DeLisle <jvdelisle at verizon dot net>
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 17 Jun 2007 09:42:18 -0700
- Subject: Re: [Patch, fortran] PR32236 - internal compiler error: in gfc_assign_data_value, at fortran/data.c:288
- References: <467553A3.9020908@wanadoo.fr>
Paul Thomas wrote:
:ADDPATCH fortran:
This patch converts an ICE into an error, since the contributor's
testcase is clearly capable of triggering it and is wrong code. The
order of checking has been inverted to give the opportunity to free the
initialization expression; thereby preventing a repetition of the error.
Regtested on Cygwin_NT/am864 - OK for trunk?
(I will bootstrap it before commiting.)
OK if passes. Note: There is another ice-on-invalid that is similar to this
one. I think I may have even suggested this solution. I will try to go back and
see if I can find that one and see how this patch relates.
Jerry