re PR c++/14123 (odd number of parentheses in error message)
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sun, 27 Jun 2004 21:36:00 +0000 (21:36 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 27 Jun 2004 21:36:00 +0000 (21:36 +0000)
commit934d729b9539853ab33c8bdbff209fe4692d0797
treeeec21d91a29b5e2f66fb5ef48711ebf08e3eb031
parentfadabebde64bcfc5b976d397d9186230fedb29db
re PR c++/14123 (odd number of parentheses in error message)

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.

From-SVN: r83748
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]