re PR fortran/50960 ([OOP] vtables not marked as constant)
commit9c63ca5a1da8f003feff00d808d5d67931038d29
authorJanus Weil <janus@gcc.gnu.org>
Wed, 9 Nov 2011 09:45:36 +0000 (9 10:45 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 9 Nov 2011 09:45:36 +0000 (9 10:45 +0100)
treefd0cad36550bc533efd5247a37f76d9bec96615d
parent02c74373cf0a29074e52b42827622c8bbb0b716a
re PR fortran/50960 ([OOP] vtables not marked as constant)

2011-11-09  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50960
* class.c (gfc_find_derived_vtab): Make the vtab symbols FL_PARAMETER.
* expr.c (gfc_simplify_expr): Prevent vtabs from being replaced with
their value.
* resolve.c (resolve_values): Use-associated symbols do not need to
be resolved again.
(resolve_fl_parameter): Make sure the symbol has a value.

From-SVN: r181199
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/fortran/expr.c
gcc/fortran/resolve.c