]> gcc.gnu.org Git - gcc.git/commit - gcc/fortran/interface.c
re PR fortran/46161 ([OOP] Invalid: Passing non-polymorphic to allocatable polymorphi...
authorJanus Weil <janus@gcc.gnu.org>
Wed, 27 Oct 2010 21:41:52 +0000 (23:41 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 27 Oct 2010 21:41:52 +0000 (23:41 +0200)
commit5ac13b8e0c688dcf1251aee3f90eddfc1e5ba43f
treed6cfcfe21cfcf637625c5a369106662858f5d290
parentcfc839a4b23ef56b53de632a713b1e6d1f2b89d4
re PR fortran/46161 ([OOP] Invalid: Passing non-polymorphic to allocatable polymorphic dummy)

2010-10-27  Janus Weil  <janus@gcc.gnu.org>

PR fortran/46161
* interface.c (compare_allocatable): Handle polymorphic allocatables.
(compare_parameter): Add two error messages for polymorphic dummies.

2010-10-27  Janus Weil  <janus@gcc.gnu.org>

PR fortran/46161
* gfortran.dg/class_dummy_3.f03: New.

From-SVN: r166018
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_dummy_3.f03 [new file with mode: 0644]
This page took 0.059826 seconds and 5 git commands to generate.