https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60218
--- Comment #1 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Wed Dec 9 16:59:26 2015 New Revision: 231460 URL: https://gcc.gnu.org/viewcvs?rev=231460&root=gcc&view=rev Log: /cp 2015-12-09 Paolo Carlini <paolo.carl...@oracle.com> PR c++/60218 * semantics.c (calculate_bases_helper): Don't call dfs_walk_all when TYPE_BINFO (type) is null. (calculate_bases): Handle gracefully a null vector->length (). /testsuite 2015-12-09 Paolo Carlini <paolo.carl...@oracle.com> PR c++/60218 * g++.dg/ext/bases2.C: New. Added: trunk/gcc/testsuite/g++.dg/ext/bases2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog