[Bug c++/65558] New: crash using __attribute__((__abi_tag__)) on anonymous inline namespace

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 25 16:55:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65558

            Bug ID: 65558
           Summary: crash using __attribute__((__abi_tag__)) on anonymous
                    inline namespace
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: jason at gcc dot gnu.org

markus@x4 tmp % cat n.ii
inline namespace __attribute__((__abi_tag__)) {}

markus@x4 tmp % g++ -c n.ii
n.ii:1:47: internal compiler error: Segmentation fault
 inline namespace __attribute__((__abi_tag__)) {}
                                               ^
0xcaf40f crash_signal
        ../../gcc/gcc/toplev.c:383
0x7daa72 tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../gcc/gcc/tree.h:2845
0x7daa72 handle_namespace_attrs(tree_node*, tree_node*)
        ../../gcc/gcc/cp/name-lookup.c:3670
0x73867c cp_parser_namespace_definition
        ../../gcc/gcc/cp/parser.c:16247
0x737c69 cp_parser_declaration
        ../../gcc/gcc/cp/parser.c:11366
0x737dfa cp_parser_declaration_seq_opt
        ../../gcc/gcc/cp/parser.c:11264
0x73810f cp_parser_translation_unit
        ../../gcc/gcc/cp/parser.c:4100
0x73810f c_parse_file()
        ../../gcc/gcc/cp/parser.c:33193
0x869c12 c_common_parse_file()
        ../../gcc/gcc/c-family/c-opts.c:1057
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.



More information about the Gcc-bugs mailing list