re PR c++/51137 ([C++0x] [4.7 Regression] ICE with -std=c++0x and virtual inheritance)
authorJason Merrill <jason@redhat.com>
Thu, 17 Nov 2011 16:34:59 +0000 (11:34 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 17 Nov 2011 16:34:59 +0000 (11:34 -0500)
commita8e237782fe24e86b8f166454a0441e05d492631
tree03d895e8c25b621baca604f09ef4088bcc638668
parentf14c43566a1fc02c036396baec3c04f27817899f
re PR c++/51137 ([C++0x] [4.7 Regression] ICE with -std=c++0x and virtual inheritance)

PR c++/51137
* class.c (build_base_path): Don't do calculation in templates.

From-SVN: r181444
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/virtual2.C [new file with mode: 0644]