re PR c++/37342 (same canonical type node for different types void (Asm::*)(std:...
authorDouglas Gregor <doug.gregor@gmail.com>
Fri, 5 Sep 2008 17:04:12 +0000 (17:04 +0000)
committerDoug Gregor <dgregor@gcc.gnu.org>
Fri, 5 Sep 2008 17:04:12 +0000 (17:04 +0000)
commit7aa4a1dfa98e1368ba4cb05b5bd19f9c96def4fb
tree0d3758b38d9d3094da6d985f0291afcca7771e37
parent37fbe8a344b5ab7e3e77499176d0581e4187929c
re PR c++/37342 (same canonical type node for different types void (Asm::*)(std::ostream&) and void (Asm::* const)(std::ostream&))

2008-09-05  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/37342
       * tree.c (cp_build_qualified_type_real): Deal with sharing of
       TYPE_LANG_SPECIFIC in the canonical types of pointer-to-method
       types.

2008-09-05  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/37342
       * g++.dg/other/canon-37342.C: New.

From-SVN: r140037
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/canon-37342.C [new file with mode: 0644]