mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing out an array type.
authorMark Mitchell <mark@codesourcery.com>
Thu, 25 Apr 2002 01:05:25 +0000 (01:05 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 25 Apr 2002 01:05:25 +0000 (01:05 +0000)
commitb970a21d1d35e0be3f32b967f56b6219f42aeb61
tree8c3b7ca21c4b39b3beb16b79e48cc412d56b4838
parenta49cfba81bf9021a62ca111e7f7baea84213a19a
mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing out an array type.

* mangle.c (write_type): Don't use TYPE_MAIN_VARIANT when writing
out an array type.
(write_CV_qualifiers_for_type): Use TYPE_QUALS, not cp_type_quals,
to determine qualifiers.

From-SVN: r52749
gcc/cp/mangle.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/mangle7.C [new file with mode: 0644]