aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@wasabisystems.com>2004-02-24 06:32:16 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2004-02-24 06:32:16 +0000
commit80a19ac825df0014e1e6ef95cc980bf7414e1a6a (patch)
treed92e6da7e262ab02a8de7cc9f2be4dd030961202 /gcc
parente8ed4ac21eab7729d8fc57f313317c5a414f78ce (diff)
downloadgcc-80a19ac825df0014e1e6ef95cc980bf7414e1a6a.zip
gcc-80a19ac825df0014e1e6ef95cc980bf7414e1a6a.tar.gz
gcc-80a19ac825df0014e1e6ef95cc980bf7414e1a6a.tar.bz2
cp-demangle.c (d_print_comp): Don't push more than one of the same CV-qualifier on the top of the stack.
* cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't push more than one of the same CV-qualifier on the top of the stack. (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified, move the CV-qualifiers to apply to the element type instead. (d_print_array_type): When checking the modifiers, keep looking past ones which have been printed already. * testsuite/demangle-expected: Add three test cases. From-SVN: r78354
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions