http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52325
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-03-02 13:21:00 UTC --- Author: burnus Date: Fri Mar 2 13:20:52 2012 New Revision: 184785 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184785 Log: 2012-03-02 Tobias Burnus <bur...@net-b.de> PR fortran/52325 * primary.c (gfc_match_varspec): Add diagnostic for % with nonderived types. 2012-03-02 Tobias Burnus <bur...@net-b.de> PR fortran/52325 * gfortran.dg/derived_comp_array_ref_8.f90: New. * gfortran.dg/nullify_2.f90: Update dg-error. * gfortran.dg/nullify_4.f90: Ditto. * gfortran.dg/pointer_init_6.f90: Ditto. Added: trunk/gcc/testsuite/gfortran.dg/derived_comp_array_ref_8.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/primary.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/nullify_2.f90 trunk/gcc/testsuite/gfortran.dg/nullify_4.f90 trunk/gcc/testsuite/gfortran.dg/pointer_init_6.f90