Re: [Patch, Fortran] PR71194 - Fix ICE with pointer assignment

2016-06-20 Thread Paul Richard Thomas
Dear Tobias, Impeccably done, as always :-) OK for trunk. Thanks for the patch. Cheers Paul On 20 June 2016 at 14:10, Tobias Burnus wrote: > Dear all, > > the issue occurs only if the RHS of a pointer assignment is a function and > the ICE is only triggered

[Patch, Fortran] PR71194 - Fix ICE with pointer assignment

2016-06-20 Thread Tobias Burnus
Dear all, the issue occurs only if the RHS of a pointer assignment is a function and the ICE is only triggered when a rank remapping is needed. gfc_conv_expr_descriptor calls for a expr2 gfc_conv_procedure_call, which sets "se.expr" to NULL_TREE - and the code later tries to access it. The code