union2.C
81 Bytes
-
re PR c++/70202 (ICE on invalid code on x86_64-linux-gnu in… · b8911cb8
re PR c++/70202 (ICE on invalid code on x86_64-linux-gnu in build_simple_base_path, at cp/class.c:579) /cp 2016-06-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/70202 * decl.c (xref_basetypes): Revert r117839 changes; add fix-up code at the end of the for loop; also revert r159637 changes, add back the gcc_assert. * cp-tree.h (xref_basetypes): Adjust declaration. * parser.c (cp_parser_class_head): Adjust xref_basetypes call. /testsuite 2016-06-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/70202 * g++.dg/inherit/crash6.C: New. * g++.dg/inherit/union2.C: Likewise. * g++.dg/inherit/virtual12.C: Likewise. * g++.dg/inherit/virtual13.C: Likewise. * g++.dg/inherit/virtual1.C: Tweak dg-* tests. From-SVN: r237482
Paolo Carlini committed