Committed with the patch for PR61275 as revision 219801. Also fixes
PR55932 for which a testcase has been added.

Will follow with a commit to 4.9 during the week.

Cheers

Paul

On 16 January 2015 at 12:30, Andre Vehreschild <ve...@gmx.de> wrote:
> Hi all,
>
> please find attached a fix for pr60357. This patch includes work published by
> Janus Weil in the bug. I have made the extensions to support allocatable
> scalar components in structure constructors. This patch also addresses
> allocatable deferred length char arrays in structure constructors, which are
> now supported. Furthermore is the artificial string-length component set
> correctly now. I hope I have covered all paths.
>
> Please note, that this patch does not fix allocatable deferred length char
> array components in types that are defined and exported in/from a module. For
> this bug Tobias Burnus wrote a patch, that will hopefully be published soon.
>
> During development I have found several related issues in the bugtracker
> notably:
>
> pr55932 - [F03] ICE for structure constructor with scalar allocatable 
> component
> pr57959 - [F03] ICE with structure constructor with scalar allocatable comp.
> pr61275 - Invalid initialization expression for ALLOCATABLE component in
> structure constructor at (1)
>
> I haven't check which ones are covered by the patch, too. I hope for support 
> of
> Dominique here, who is a valued resource for checking conflicts and suddenly
> fixed bugs. :-) Would you do that for me Dominique?
>
> All comments welcome.
>
> Bootstraps and regtests ok on x86_64-linux-gnu.
>
> Regards,
>         Andre
>
> --
> Andre Vehreschild * Kreuzherrenstr. 8 * 52062 Aachen
> Tel.: +49 241 9291018 * Email: ve...@gmx.de



-- 
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.

Groucho Marx

Reply via email to