public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90254] [8/9/10 Regression] ice on aggregate initialization of unmovable base Date: Mon, 20 Apr 2020 23:34:27 +0000 [thread overview] Message-ID: <bug-90254-4-S2ADL23R4o@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-90254-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90254 --- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- This reduced test actually regressed with r241187: struct A { A(A &); }; struct B : A { }; A foo (); int main () { B{foo()}; } $ ./cc1plus -quiet x.C -std=c++17 during RTL pass: expand x.C: In function ‘int main()’: x.C:11:3: internal compiler error: in assign_temp, at function.c:984 11 | B{foo()}; | ^~~~~~~~ 0x105cdf1 assign_temp(tree_node*, int, int) /home/mpolacek/src/gcc/gcc/function.c:984 0xdf123d expand_call(tree_node*, rtx_def*, int) /home/mpolacek/src/gcc/gcc/calls.c:3825 0xfe98d5 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/mpolacek/src/gcc/gcc/expr.c:11135 0xfdc3d9 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/mpolacek/src/gcc/gcc/expr.c:8358 0xfbb233 expand_normal /home/mpolacek/src/gcc/gcc/expr.h:288 0xfd7588 store_field /home/mpolacek/src/gcc/gcc/expr.c:7102 0xfcf3c6 expand_assignment(tree_node*, tree_node*, bool) /home/mpolacek/src/gcc/gcc/expr.c:5374 0xe12534 expand_call_stmt /home/mpolacek/src/gcc/gcc/cfgexpand.c:2701 0xe15cab expand_gimple_stmt_1 /home/mpolacek/src/gcc/gcc/cfgexpand.c:3682 0xe1634a expand_gimple_stmt /home/mpolacek/src/gcc/gcc/cfgexpand.c:3847 0xe1e4f9 expand_gimple_basic_block /home/mpolacek/src/gcc/gcc/cfgexpand.c:5887 0xe2013b execute /home/mpolacek/src/gcc/gcc/cfgexpand.c:6542 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.
next parent reply other threads:[~2020-04-20 23:34 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-90254-4@http.gcc.gnu.org/bugzilla/> 2020-04-20 23:34 ` mpolacek at gcc dot gnu.org [this message] 2020-04-21 0:03 ` mpolacek at gcc dot gnu.org 2020-04-21 20:34 ` xerofoify at gmail dot com 2020-04-24 14:56 ` mpolacek at gcc dot gnu.org 2020-08-14 16:58 ` [Bug c++/90254] [8/9/10/11 " cvs-commit at gcc dot gnu.org 2020-08-14 17:01 ` [Bug c++/90254] [8/9/10 " jason at gcc dot gnu.org 2020-12-23 22:11 ` cvs-commit at gcc dot gnu.org 2021-03-29 11:19 ` rguenth at gcc dot gnu.org 2021-05-14 9:51 ` [Bug c++/90254] [9/10 " jakub at gcc dot gnu.org 2021-06-01 8:13 ` rguenth at gcc dot gnu.org 2021-08-14 10:14 ` pinskia at gcc dot gnu.org 2022-05-27 8:31 ` [Bug c++/90254] [9 " rguenth at gcc dot gnu.org 2022-06-09 15:51 ` m.cencora at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-90254-4-S2ADL23R4o@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).