typeck.c (convert_for_assignment): Converting from pm of vbase to derived is an error...
authorJason Merrill <jason@yorick.cygnus.com>
Tue, 25 Aug 1998 01:48:47 +0000 (01:48 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 25 Aug 1998 01:48:47 +0000 (21:48 -0400)
commit51ddb82e4604cfdcc15d6a7b87b4bb713037205c
tree47603192b7fb5369e59eeb8e210c6872a63bf58c
parent1dd503e847be6268eb3e85504e34c06f26d135f0
typeck.c (convert_for_assignment): Converting from pm of vbase to derived is an error, not a sorry.

* typeck.c (convert_for_assignment): Converting from pm of vbase
to derived is an error, not a sorry.
* call.c (build_over_call): Use convert_pointer_to_real for 'this'.
* class.c (fixed_type_or_null): Rename from
resolves_to_fixed_type_p.  Return the dynamic type of the
expression, if fixed, or null.
(resolves_to_fixed_type_p): Use it.  Return 0 if the dynamic type
does not match the static type.
(build_vbase_path): Rename 'alias_this' to 'nonnull'.  Use
resolves_to_fixed_type_p again.

From-SVN: r21958
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/typeck.c