Re: [Fortran, Patch, pr66911, gcc-5, v1] ICE on allocate character with source as a derived type component

2016-04-04 Thread Andre Vehreschild
Hi Jerry, thank you for the review. Committed as r234712 to gcc-5-branch. Regards, Andre On Sun, 3 Apr 2016 12:22:31 -0700 Jerry DeLisle wrote: > On 04/03/2016 08:33 AM, Andre Vehreschild wrote: > > Hi all, > > > > attached patch fixes the ICE when using a

Re: [Fortran, Patch, pr66911, gcc-5, v1] ICE on allocate character with source as a derived type component

2016-04-03 Thread Jerry DeLisle
On 04/03/2016 08:33 AM, Andre Vehreschild wrote: > Hi all, > > attached patch fixes the ICE when using a deferred length char array as > source= expression in an allocate for complicated source= expressions. > Before the patch the compiler was relying on having the string length > available in

[Fortran, Patch, pr66911, gcc-5, v1] ICE on allocate character with source as a derived type component

2016-04-03 Thread Andre Vehreschild
Hi all, attached patch fixes the ICE when using a deferred length char array as source= expression in an allocate for complicated source= expressions. Before the patch the compiler was relying on having the string length available in the ts of the expression, but when the expression is