[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #18 from Avi Kivity --- It's still >7MB long, so I'll stop reducing.

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #16 from Avi Kivity --- So I confirm it's a dup. Are you still interested in a reduced testcase?

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #15 from Avi Kivity --- If I move the sub-expression that contains the std::initializer_list outside co_await, the internal error is avoided.

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #14 from Avi Kivity --- Very likely it's a dup: db::view::view_update_builder builder = co_await db::view::make_view_update_builder( base, std::move(views), flat_mutation_reader_from_mutations

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #13 from Avi Kivity --- The coroutine that breaks is future<> table::generate_and_propagate_view_updates(const schema_ptr& base, reader_permit permit, std::vector&& views, mutation&& m, flat_mutation_

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #12 from Iain Sandoe --- (In reply to Iain Sandoe from comment #11) > (In reply to Avi Kivity from comment #10) > > Reproduces on trunk: > this looks like a dup of PR 96056 - but I am happy to check the reduced case. erm PR 98056 I

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #11 from Iain Sandoe --- (In reply to Avi Kivity from comment #10) > Reproduces on trunk: > > #7 0x00b439af in cp_build_modify_expr (loc=1376651745, > lhs=0x7f0c55c12c60, modifycode=, rhs=0x7f0c55e63ee0, > complain=) at ../

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #10 from Avi Kivity --- Reproduces on trunk: #7 0x00b439af in cp_build_modify_expr (loc=1376651745, lhs=0x7f0c55c12c60, modifycode=, rhs=0x7f0c55e63ee0, complain=) at ../../gcc/gcc/cp/typeck.c:8919 8919

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #9 from Avi Kivity --- I found -dH and have a core: (gdb) bt #0 0x7f26600e02a2 in ?? () from /lib64/libc.so.6 #1 0x7f26600c98a4 in ?? () from /lib64/libc.so.6 #2 0x00ff1af4 in diagnostic_action_after_output(diagno

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #8 from Avi Kivity --- Ugh, I forgot g++ isn't the compiler proper and setting a breakpoint is going to be tricky.

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #7 from Avi Kivity --- ice.cc: In member function 'seastar::future<> table::generate_and_propagate_view_updates(const schema_ptr&, reader_permit, std::vector&&, mutation&&, flat_mutation_reader_opt, tracing::trace_state_ptr, gc_clock

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #6 from Iain Sandoe --- (In reply to Avi Kivity from comment #5) > How does one ask gcc to generate a backtrace on ICE? It produces one when libbacktrace is available, not aware of needing to do anything special; is there any other

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #5 from Avi Kivity --- How does one ask gcc to generate a backtrace on ICE?

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #4 from Iain Sandoe --- (In reply to Avi Kivity from comment #3) > Adding Iain since the ICE happens in a coroutine. Meanwhile my desktop is > reducing the testcase. do you have a backtrace?

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-12 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 Avi Kivity changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #3 fr

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-11 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #2 from Avi Kivity --- Simplified command line: g++ -march=westmere --std=c++20 -fext-numeric-literals ice.cc

[Bug c++/101420] ICE in build_special_member_call, at cp/call.c:10179

2021-07-11 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101420 --- Comment #1 from Avi Kivity --- File is in https://scratch.scylladb.com/ice.cc (too large to upload to bugzilla). I'll try to reduce it a little.