typeck2.c (build_x_arrow): Don't crash when an aggregate type has no overloaded opera...
authorMark Mitchell <mmitchell@usa.net>
Tue, 17 Mar 1998 14:59:43 +0000 (14:59 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 17 Mar 1998 14:59:43 +0000 (14:59 +0000)
commit297dcfb3a91b4284b9fc4c4db3eb9630a0fcd465
tree669a4605294f2e4a57c022f3a74df9735d5c02ad
parentc7dfe584801a38a984c279332c63e8fb41af4294
typeck2.c (build_x_arrow): Don't crash when an aggregate type has no overloaded operator ->.

* typeck2.c (build_x_arrow): Don't crash when an aggregate type
has no overloaded operator ->.
* call.c (build_field_call): Don't crash when presented with a
field that is actually a nested type.
* decl.c (pushtag): Deal with friend class injection in local
classes.
* call.c (build_object_call): Don't crash if OBJ is a
pointer-to-member-function.

From-SVN: r18647
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl.c
gcc/cp/typeck2.c
gcc/testsuite/g++.old-deja/g++.other/badarrow.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/friend2.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/nested1.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/ptrmem3.C [new file with mode: 0644]