OSDN Git Service

* typeck2.c (build_x_arrow): Don't crash when an aggregate type
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Mar 1998 14:59:43 +0000 (14:59 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Mar 1998 14:59:43 +0000 (14:59 +0000)
commit02add86df250f5eff972f446fb7ea06f1f522dfb
tree669a4605294f2e4a57c022f3a74df9735d5c02ad
parenta1c06b1e21be4c17099b784673a96c988a2ae004
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18647 138bc75d-0d04-0410-961f-82ee72b054a4
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]