This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] PR 43303 Fix c_associated ICE (4.4/4.5 regression)
- From: Tobias Burnus <burnus at net-b dot de>
- To: gfortran <fortran at gcc dot gnu dot org>, gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 10 Mar 2010 19:58:36 +0100
- Subject: Re: [Patch, Fortran] PR 43303 Fix c_associated ICE (4.4/4.5 regression)
- References: <4B973F62.90305@net-b.de>
On 10.03.2010 07:42, Tobias Burnus wrote:
> The attached patch fixes an ICE with C_associated as sym->result was not
> set for the functions from ISO_C_BINDING. The ICE only occurs with
> PRINT in the attached test case, not when using it in "IF(...)", which
> explains why the regression was missed. I now explicitly set
> sym->result, which should be the proper fix.
>
> Build and regtested on x86-64-linux.
> OK for the trunk and for the 4.4 branch?
>
OKed by Daniel K. on IRC and committed to the trunk; I will later commit
it also to the 4.4 branch.
Tobias
Sending gcc/fortran/ChangeLog
Sending gcc/fortran/symbol.c
Sending gcc/testsuite/ChangeLog
Adding gcc/testsuite/gfortran.dg/c_assoc_3.f90
Transmitting file data ....
Committed revision 157364.