re PR c++/33601 (ICE with pointers to members using "const C" as the class identifier)
authorDouglas Gregor <doug.gregor@gmail.com>
Fri, 26 Oct 2007 19:34:03 +0000 (19:34 +0000)
committerDoug Gregor <dgregor@gcc.gnu.org>
Fri, 26 Oct 2007 19:34:03 +0000 (19:34 +0000)
commit4552f5a2c81d09f3d1af9aad2203e95162c2e3a8
treee144a43b87857650113ed783225510d05607b2c4
parent84f2b1d168c4cd781fd67af8ec884efd3f4d93e3
re PR c++/33601 (ICE with pointers to members using "const C" as the class identifier)

2007-10-26  Douglas Gregor  <doug.gregor@gmail.com>

PR c++/33601
* tree.c (build_offset_type): Build canonical type based on the
TYPE_MAIN_VARIANT of the base type.

2007-10-26  Douglas Gregor  <doug.gregor@gmail.com>

* g++.dg/other/pr33601.C: New.

From-SVN: r129659
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr33601.C [new file with mode: 0644]
gcc/tree.c