diff options
author | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-08-06 18:25:40 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-08-06 18:25:40 +0000 |
commit | 8402fd4f4cb96baf42051af214d7d31cd51f4402 (patch) | |
tree | 847abd0a65b7d8d893993feb5c34d4ca44883a66 /gcc | |
parent | 2adeacc9b5d8a9e6b2fe2c328b914df559b65907 (diff) | |
download | gcc-8402fd4f4cb96baf42051af214d7d31cd51f4402.zip gcc-8402fd4f4cb96baf42051af214d7d31cd51f4402.tar.gz gcc-8402fd4f4cb96baf42051af214d7d31cd51f4402.tar.bz2 |
tree.c (cp_build_qualified_type_real): Handle pointer-to-member-function types correctly.
* tree.c (cp_build_qualified_type_real): Handle
pointer-to-member-function types correctly.
From-SVN: r28551
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 7b5c16d..8838ef7 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -583,7 +583,7 @@ cp_build_qualified_type_real (type, type_quals, complain) t = TYPE_PTRMEMFUNC_FN_TYPE (type); t = cp_build_qualified_type_real (t, type_quals, complain); - return build_ptrmemfunc_type (t); + return build_qualified_type (build_ptrmemfunc_type (t), type_quals); } /* Retrieve (or create) the appropriately qualified variant. */ |