PR c++/14123
commit32ce9847fcf66d14c8b4bd33dc493a1f4ec74f3e
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Jun 2004 21:36:00 +0000 (27 21:36 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Jun 2004 21:36:00 +0000 (27 21:36 +0000)
treeeec21d91a29b5e2f66fb5ef48711ebf08e3eb031
parentad1c9d3b84f4ef6bf9ab4cd9aee6af5500930fd4
PR c++/14123
* cxx-pretty-print.c (pp_cxx_ptr_operator): Properly put
paranthesis in case of pointers to array members.
* error.c (dump_type_prefix): Likewise.
(dump_type_suffix): Maybe issue a whitespace when printing
ARRAY_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83748 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cxx-pretty-print.c
gcc/cp/error.c
gcc/testsuite/g++.dg/other/ptrmem5.C [new file with mode: 0644]