This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/66748] Crash with abi_tag attribute


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]