public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99604] New: GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc
@ 2021-03-15 14:29 rguenth at gcc dot gnu.org
  2021-03-15 14:59 ` [Bug c++/99604] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-03-15 14:29 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/99604] GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc
  2021-03-15 14:29 [Bug c++/99604] New: GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc rguenth at gcc dot gnu.org
@ 2021-03-15 14:59 ` rguenth at gcc dot gnu.org
  2021-03-16  8:16 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-03-15 14:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Doesn't reproduce with

make check-libstdc++-v3 RUNTESTFLAGS="--target_board=unix/-m32
conformance.exp=insert_vs_emplace.cc"

but appeared in a full (parallel) make check.  Running the command in
valgrind doesn't show anything either.

Will see if it re-surfaces (maybe somebody else saw the same?).  Note I
have address-space randomization disabled.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/99604] GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc
  2021-03-15 14:29 [Bug c++/99604] New: GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc rguenth at gcc dot gnu.org
  2021-03-15 14:59 ` [Bug c++/99604] " rguenth at gcc dot gnu.org
@ 2021-03-16  8:16 ` rguenth at gcc dot gnu.org
  2021-03-17 13:39 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-03-16  8:16 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at gcc dot gnu.org

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 99603 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/99604] GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc
  2021-03-15 14:29 [Bug c++/99604] New: GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc rguenth at gcc dot gnu.org
  2021-03-15 14:59 ` [Bug c++/99604] " rguenth at gcc dot gnu.org
  2021-03-16  8:16 ` rguenth at gcc dot gnu.org
@ 2021-03-17 13:39 ` rguenth at gcc dot gnu.org
  2021-03-17 13:44 ` nathan at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-03-17 13:39 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Didn't reproduce today, tried with --param ggc-min-expand=0 --param
ggc-min-heapsize=0 as well which also did not reproduce the issue.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/99604] GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc
  2021-03-15 14:29 [Bug c++/99604] New: GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc rguenth at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-03-17 13:39 ` rguenth at gcc dot gnu.org
@ 2021-03-17 13:44 ` nathan at gcc dot gnu.org
  2021-03-17 13:47 ` rguenth at gcc dot gnu.org
  2021-03-17 13:57 ` nathan at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: nathan at gcc dot gnu.org @ 2021-03-17 13:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
I wonder if this was an instance of 99423?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/99604] GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc
  2021-03-15 14:29 [Bug c++/99604] New: GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc rguenth at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-03-17 13:44 ` nathan at gcc dot gnu.org
@ 2021-03-17 13:47 ` rguenth at gcc dot gnu.org
  2021-03-17 13:57 ` nathan at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-03-17 13:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Nathan Sidwell from comment #4)
> I wonder if this was an instance of 99423?

It doesn't use any modules, so unlikely.  I thought of PR99447 instead but
since it doesn't reproduce...

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c++/99604] GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc
  2021-03-15 14:29 [Bug c++/99604] New: GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc rguenth at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2021-03-17 13:47 ` rguenth at gcc dot gnu.org
@ 2021-03-17 13:57 ` nathan at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: nathan at gcc dot gnu.org @ 2021-03-17 13:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Myth Plausible

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-03-17 13:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15 14:29 [Bug c++/99604] New: GC related ICE in 23_containers/vector/modifiers/insert_vs_emplace.cc rguenth at gcc dot gnu.org
2021-03-15 14:59 ` [Bug c++/99604] " rguenth at gcc dot gnu.org
2021-03-16  8:16 ` rguenth at gcc dot gnu.org
2021-03-17 13:39 ` rguenth at gcc dot gnu.org
2021-03-17 13:44 ` nathan at gcc dot gnu.org
2021-03-17 13:47 ` rguenth at gcc dot gnu.org
2021-03-17 13:57 ` nathan at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).