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++/71184] New: ICE on "operator new["


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

            Bug ID: 71184
           Summary: ICE on "operator new["
           Product: gcc
           Version: 6.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rippey.e at gmail dot com
  Target Milestone: ---

Using g++ 6.1.0 on a file that contains just "operator new[" produces the
following error message:

int_286791631.cpp:1:13: internal compiler error: Segmentation fault
 operator new[
             ^
0xaf5d8f crash_signal
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/toplev.c:333
0x6821f0 cp_parser_operator
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:13796
0x6821f0 cp_parser_operator_function_id
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:13724
0x699d5b cp_parser_template_name
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:15049
0x699d5b cp_parser_template_id
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:14821
0x69b03a cp_parser_type_name
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:16376
0x68ca51 cp_parser_type_name
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:16347
0x68ca51 cp_parser_simple_type_specifier
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:16261
0x688ecd cp_parser_type_specifier
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:15914
0x69a9fc cp_parser_decl_specifier_seq
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:12760
0x6a4c41 cp_parser_simple_declaration
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:12301
0x6a50ba cp_parser_block_declaration
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:12248
0x6aae2e cp_parser_declaration
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:12145
0x6a98e6 cp_parser_declaration_seq_opt
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:12024
0x6a9be0 cp_parser_translation_unit
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:4323
0x6a9be0 c_parse_file()
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/cp/parser.c:37464
0x773542 c_common_parse_file()
        /disk/0/erippey/gcc/objdir/../gcc-6.1.0/gcc/c-family/c-opts.c:1064
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.

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