https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66748
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Wed Jul 8 10:36:26 2015 New Revision: 225541 URL: https://gcc.gnu.org/viewcvs?rev=225541&root=gcc&view=rev Log: PR c++/66748 * tree.c (handle_abi_tag_attribute): Check for CLASS_TYPE_P before accessing TYPE_LANG_SPECIFIC node. * g++.dg/abi/abi-tag15.C: New test. Added: trunk/gcc/testsuite/g++.dg/abi/abi-tag15.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/tree.c trunk/gcc/testsuite/ChangeLog