This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/37342] [4.4 Regression] same canonical type node for different types void (Asm::*)(std::ostream&) and void (Asm::* const)(std::ostream&)



------- Comment #7 from dgregor at gcc dot gnu dot org  2008-09-05 17:05 -------
Subject: Bug 37342

Author: dgregor
Date: Fri Sep  5 17:04:12 2008
New Revision: 140037

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140037
Log:
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.


Added:
    trunk/gcc/testsuite/g++.dg/other/canon-37342.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37342


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]