]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/class.cc
re PR fortran/42207 ([OOP] Compile-time errors on typed allocation and pointer functi...
authorJanus Weil <janus@gcc.gnu.org>
Wed, 4 Aug 2010 19:49:19 +0000 (21:49 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 4 Aug 2010 19:49:19 +0000 (21:49 +0200)
commite10f52d09976c17ebd5fadeb4a0e09a854d3814d
tree3fa3d8617306adc01c4a2d8af8ed81aff29cc0a0
parent0e884a9464e6941b5fef6b08fdcebee368799c73
re PR fortran/42207 ([OOP] Compile-time errors on typed allocation and pointer function result assignment)

2010-08-04  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42207
PR fortran/44064
PR fortran/44065
* class.c (gfc_find_derived_vtab): Do not generate vtabs for class
container types. Do not artificially increase refs. Commit symbols one
by one.
* interface.c (compare_parameter): Make sure vtabs are present before
generating module variables.
* resolve.c (resolve_allocate_expr): Ditto.

2010-08-04  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42207
PR fortran/44064
PR fortran/44065
* gfortran.dg/class_25.f03: New.
* gfortran.dg/class_26.f03: New.

From-SVN: r162879
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/fortran/interface.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_25.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/class_26.f03 [new file with mode: 0644]