OSDN Git Service

2007-07-04 Douglas Gregor <doug.gregor@gmail.com>
authordgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jul 2007 06:32:30 +0000 (06:32 +0000)
committerdgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jul 2007 06:32:30 +0000 (06:32 +0000)
commit3084bb6fe0672e1e6e693a9a5e10581ae2b4a430
tree57e6f75b199598a710c4e2a6c1666ad20df96b3c
parent2595dcbb4c9bc83e3fa552689d846bbcfe14cd00
2007-07-04  Douglas Gregor  <doug.gregor@gmail.com>

* tree.c (maybe_canonicalize_argtypes): New.
(build_function_type): Set canonical type.
(build_method_type_directly): Ditto.
(reconstruct_complex_type): Rebuild the METHOD_TYPE node
properly.

2007-07-04  Douglas Gregor  <doug.gregor@gmail.com>

* decl.c (build_ptrmemfunc_type): Always use structural equality
tests when comparing pointer-to-member-function types, because the
handling of TYPE_GET_PTRMEMFUNC_TYPE currently defeats canonical
types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126303 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/tree.c