Jakub Jelinek wrote:
> As the testcase shows, we ICE on old style initialization of derived type
> components.  ifort also rejects these, I think it doesn't make sense to
> support such initializations of derived type components.

Side remark: Cray ftn also rejects it, while PGI's compiler accepts it.

> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk/4.9?

Looks good to me. Thanks!

Tobias

> 2014-07-02  Jakub Jelinek  <ja...@redhat.com>
>           Fritz Reese  <reese-fr...@zai.com>
> 
>       * decl.c (variable_decl): Reject old style initialization
>       for derived type components.
> 
>       * gfortran.dg/oldstyle_5.f: New test.

Reply via email to