projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2adeacc
)
tree.c (cp_build_qualified_type_real): Handle pointer-to-member-function types correctly.
author
Mark Mitchell
<mmitchel@gcc.gnu.org>
Fri, 6 Aug 1999 18:25:40 +0000
(18:25 +0000)
committer
Mark Mitchell
<mmitchel@gcc.gnu.org>
Fri, 6 Aug 1999 18:25:40 +0000
(18:25 +0000)
* tree.c (cp_build_qualified_type_real): Handle
pointer-to-member-function types correctly.
From-SVN: r28551
gcc/cp/tree.c
patch
|
blob
|
history
diff --git
a/gcc/cp/tree.c
b/gcc/cp/tree.c
index 7b5c16d67de01ac99c2c30d143307b2268caf4fd..8838ef732fca5b2dacc3e88fa0b0bd3a5313ef0e 100644
(file)
--- 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. */