This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch, fortran] PR41062 - [4.4/4.5 Regression] ICE in gfc_trans_use_stmts, at fortran/trans-decl.c:3438
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: "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: Mon, 17 Aug 2009 22:22:54 +0200
- Subject: [Patch, fortran] PR41062 - [4.4/4.5 Regression] ICE in gfc_trans_use_stmts, at fortran/trans-decl.c:3438
'Obvious' patch committed as revision 150858 after bootstrapping and
regtesting on FC9/x86_64.
This fix is obvious in the sense that it stops the ICE and does no
harm. I have yet to understand fully why the problem occurs in the
first place and why removing the 'ONLY' removes the ICE.
I will commit to 4.4 in a week and/or once I have understood the cause
of the problem.
Cheers
Paul
2008-08-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/41062
* trans-decl.c (gfc_trans_use_stmts): Keep going through use
list if symbol is not use associated.
2008-08-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/41062
* gfortran.dg/use_only_4.f90: New test.