https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108711
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-02-08 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- Reduced test-case: $ cat goexpr.ii struct Expression_list { Expression_list *copy(); } vals_; struct Parser_expression { Parser_expression(); }; struct Composite_literal_expression : Parser_expression { Composite_literal_expression(bool has_keys, Expression_list *, bool all_are_names) : has_keys_(has_keys), all_are_names_(all_are_names) {} void do_copy(); bool has_keys_; bool all_are_names_; }; void Composite_literal_expression::do_copy() { new Composite_literal_expression(has_keys_, vals_.copy(), all_are_names_); } $ /home/abuild/rpmbuild/BUILD/gcc-13.0.1+git5733/obj-i586-suse-linux/./prev-gcc/xg++ -B/home/abuild/rpmbuild/BUILD/gcc-13.0.1+git5733/obj-i586-suse-linux/./prev-gcc/ -fno-exceptions -O2 goexpr.ii -c during RTL pass: reload goexpr.ii: In member function 'void Composite_literal_expression::do_copy()': goexpr.ii:17:1: internal compiler error: in get_equiv, at lra-constraints.cc:534 17 | } | ^ 0x84f9177 _start ../sysdeps/i386/start.S:111 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://bugs.opensuse.org/> for instructions.