This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/82737] [ICE] Compiler segfault on compilation of a certain file (full cause unknown) (file too large for upload, link provided)
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 08 Nov 2017 10:51:31 +0000
- Subject: [Bug c++/82737] [ICE] Compiler segfault on compilation of a certain file (full cause unknown) (file too large for upload, link provided)
- Auto-submitted: auto-generated
- References: <bug-82737-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82737
--- Comment #18 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 42562
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42562&action=edit
Reduce test-case
I've got following test-case that started with r253608:
$ ./xg++ -B. -std=c++1z -mavx512dq -c /tmp/repro.ii
cc1plus: internal compiler error: Segmentation fault
0x1203f31 crash_signal
../../gcc/toplev.c:326
0x1575044 decl_assembler_name(tree_node*)
../../gcc/tree.c:672
0x92d913 hash_table<mangled_decl_hash,
xcallocator>::find_slot_with_hash(tree_node* const&, unsigned int,
insert_option)
../../gcc/hash-table.h:892
0x929e90 record_mangling(tree_node*, bool)
../../gcc/cp/decl2.c:4405
0x989780 mangle_decl(tree_node*)
../../gcc/cp/mangle.c:3842
0x1575094 decl_assembler_name(tree_node*)
../../gcc/tree.c:673
0xc7e3ed symtab_node::get_comdat_group_id()
../../gcc/cgraph.h:215
0xc96888 analyze_functions
../../gcc/cgraphunit.c:1081
0xc9bac3 symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2666
$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: x86_64-w64-mingw32
Configured with: ../configure --enable-languages=c,c++ --disable-multilib
--disable-libsanitizer --prefix=/home/marxin/bin/gcc --disable-bootstrap
--target=x86_64-w64-mingw32
Thread model: win32
gcc version 8.0.0 20171010 (experimental) (GCC)
Which will be probably another problem as you're using GCC 7.2
Nathan can you please take a look?