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

            Bug ID: 99604
           Summary: GC related ICE in
                    23_containers/vector/modifiers/insert_vs_emplace.cc
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

I see on x86_64-unknown-linux-gnu when testing with -m32:

spawn -ignore SIGHUP /tmp/obj/./gcc/xg++ -shared-libgcc -B/tmp/obj/./gcc
-nostdinc++ -L/tmp/obj/x86_64-pc-linux-gnu/32/libstdc++-v3/src
-L/tmp/obj/x86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs
-L/tmp/obj/x86_64-pc-linux-gnu/32/libstdc++-v3/libsupc++/.libs
-B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/
-isystem /usr/local/x86_64-pc-linux-gnu/include -isystem
/usr/local/x86_64-pc-linux-gnu/sys-include -fchecking=1 -m32
-B/tmp/obj/x86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs -fmessage-length=0
-fno-show-column -ffunction-sections -fdata-sections -fcf-protection -mshstk -g
-O2 -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++
-I/tmp/obj/x86_64-pc-linux-gnu/32/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/tmp/obj/x86_64-pc-linux-gnu/32/libstdc++-v3/include
-I/home/rguenther/src/trunk/libstdc++-v3/libsupc++
-I/home/rguenther/src/trunk/libstdc++-v3/include/backward
-I/home/rguenther/src/trunk/libstdc++-v3/testsuite/util
/home/rguenther/src/trunk/libstdc++-v3/testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc
-m32 -include bits/stdc++.h -fdiagnostics-plain-output ./libtestc++.a
-Wl,--gc-sections
-L/tmp/obj/x86_64-pc-linux-gnu/32/libstdc++-v3/src/filesystem/.libs -lm -o
./insert_vs_emplace.exe^M
In file included from /usr/include/endian.h:60,^M
                 from /usr/include/ctype.h:39,^M
                 from
/tmp/obj/x86_64-pc-linux-gnu/32/libstdc++-v3/include/cctype:42,^M
                 from
/tmp/obj/x86_64-pc-linux-gnu/32/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/stdc++.h:35,^M
                 from <command-line>:^M
/usr/include/bits/byteswap.h:48: internal compiler error: Segmentation fault^M
0x10c425f crash_signal^M
        /home/rguenther/src/trunk/gcc/toplev.c:327^M
0xbf0c03 lookup_page_table_entry^M
        /home/rguenther/src/trunk/gcc/ggc-page.c:630^M
0xbf0c03 ggc_set_mark(void const*)^M
        /home/rguenther/src/trunk/gcc/ggc-page.c:1544^M
0xb328e7 gt_ggc_mx_lang_tree_node(void*)^M
        ./gt-cp-tree.h:107^M
...
0xbf15b1 ggc_collect()^M
        /home/rguenther/src/trunk/gcc/ggc-page.c:2220^M
0xc82e04 cgraph_node::finalize_function(tree_node*, bool)^M
        /home/rguenther/src/trunk/gcc/cgraphunit.c:494^M
0xb12d4a expand_or_defer_fn(tree_node*)^M
        /home/rguenther/src/trunk/gcc/cp/semantics.c:4595^M
0xa91d41 cp_parser_function_definition_after_declarator^M
        /home/rguenther/src/trunk/gcc/cp/parser.c:30020^M
0xa930f9 cp_parser_function_definition_from_specifiers_and_declarator^M
        /home/rguenther/src/trunk/gcc/cp/parser.c:29923^M
Please submit a full bug report,^M
with preprocessed source if appropriate.^M
Please include the complete backtrace with any bug report.^M
See <https://gcc.gnu.org/bugs/> for instructions.^M

Reply via email to