This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] PR 43303 Fix c_associated ICE (4.4/4.5 regression)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]