re PR fortran/46152 ([F03] ALLOCATE with type-spec fails for intrinsic types)
2010-10-30 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/46152 * gfortran.dg/select_type_11.f03: Update dg-error phrase. * gfortran.dg/allocate_with_typespec_4.f90: New test. * gfortran.dg/allocate_with_typespec_1.f90: New test. * gfortran.dg/allocate_with_typespec_2.f: New test. * gfortran.dg/allocate_with_typespec_3.f90: New test. * gfortran.dg/allocate_derived_1.f90: Delete an obselescent test. * gfortran.dg/select_type_1.f03: Update dg-error phrase. 2010-10-30 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/46152 * fortran/match.c (match_derived_type_spec): Reoplace gfc_match_symbol with a gfc_find_symbol to prevent namespace pollution. Remove dead code. (match_type_spec): Remove parsing of '::'. Collapse character kind checking to one location. (gfc_match_allocate): Use correct locus in error message. From-SVN: r166140
Showing
Please
register
or
sign in
to comment