]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/primary.c
re PR fortran/48095 ([OOP] Invalid assignment to procedure pointer component not...
authorJanus Weil <janus@gcc.gnu.org>
Tue, 29 Mar 2011 09:39:10 +0000 (11:39 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 29 Mar 2011 09:39:10 +0000 (11:39 +0200)
commitd91909c0133554d00379f0ef41fe2d2ff6ab9968
tree5cbc71797224538781afa1e8370fcb01a020856b
parent23360fe40929b6f731db12007a7b262e72e5e336
re PR fortran/48095 ([OOP] Invalid assignment to procedure pointer component not rejected)

2011-03-29  Janus Weil  <janus@gcc.gnu.org>

PR fortran/48095
* decl.c (match_procedure_decl,match_ppc_decl): Set flavor of interface.
* module.c (MOD_VERSION): Bump.
(mio_typespec): Read/write 'interface' field.
* primary.c (match_string_constant,match_logical_constant): Remove
unneeded code.
(match_complex_constant): Make sure to clear the typespec.

2011-03-29  Janus Weil  <janus@gcc.gnu.org>

PR fortran/48095
* gfortran.dg/module_md5_1.f90: Modified MD5 sum.
* gfortran.dg/proc_ptr_comp_32.f90: New.

From-SVN: r171654
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/module.c
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/module_md5_1.f90
gcc/testsuite/gfortran.dg/proc_ptr_comp_32.f90 [new file with mode: 0644]