[Patch, fortran] PR57033 ICE on extended derived type and default initialization

2014-02-01 Thread Mikael Morin
Hello, here is a fix for PR57033. The problem was gfc_convert_to_structure_constructor calling itself recursively and changing `actual' behind its back without going through the loop condition. The fix is pretty obvious; I thought there was something missing (see the PR) but on second thought, it

Re: [Patch, fortran] PR57033 ICE on extended derived type and default initialization

2014-02-01 Thread Paul Richard Thomas
Dear Mikael, We seem to be breaking records tonight :-) OK by me for trunk, 4.7 and 4.8. Thanks! Paul On 1 February 2014 19:49, Mikael Morin mikael.mo...@sfr.fr wrote: Hello, here is a fix for PR57033. The problem was gfc_convert_to_structure_constructor calling itself recursively and