Compiler output: $ gcc testcase.C testcase.C:11:8: internal compiler error: in dfs_walk_once, at cp/search.c:1659 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r163636 - crash r162940 - crash r161659 - OK
Created attachment 21631 [details] reduced testcase
It is caused by revision 162008: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00362.html
Author: jason Date: Sat Nov 6 01:44:31 2010 New Revision: 166391 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166391 Log: PR c++/45473 * search.c (look_for_overrides): A constructor is never virtual. Added: trunk/gcc/testsuite/g++.dg/inherit/virtual6.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/search.c trunk/gcc/testsuite/ChangeLog
Fixed.