[Fortran, PR20897] Disallow intrinsic type names as derived type names

François-Xavier Coudert fxcoudert@gmail.com
Thu Mar 22 15:59:00 GMT 2007


> 2007-03-22  Tobias Schlüter  <tobi@gcc.gnu.org>
>
>         PR fortran/20897
> fortran/
>         * decl.c (gfc_match_derived_decl): Reliably reject
>         'doubleprecision' and 'doublecomplex' as type names.
> testsuite/
>         * gfortran.dg/derived_name_1.f90: New.
>         * gfortran.dg/derived_name_2.f: New.

OK for mainline.

FX



More information about the Gcc-patches mailing list