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++/55520] [C++11] ICE when capturing a variable-length stack array in lambda; in expand_expr_real_1, at expr.c:9122 Date: Thu, 29 Nov 2012 07:58:00 -0000 [thread overview] Message-ID: <bug-55520-4-U63F9exxhd@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-55520-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55520 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> 2012-11-29 07:58:16 UTC --- Reproduced with trunk. Might be related/dupe of PR55240. p.C: In lambda function: p.C:7:20: internal compiler error: in expand_expr_real_1, at expr.c:9231 x[0][i] = 0; ^ 0x861392 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) /home/polacek/src/gcc/gcc/expr.c:9231 0x8639cd expand_expr /home/polacek/src/gcc/gcc/expr.h:444 0x8639cd expand_operands /home/polacek/src/gcc/gcc/expr.c:7432 0x86eefe expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) /home/polacek/src/gcc/gcc/expr.c:8505 0x7976a6 expand_gimple_stmt_1 /home/polacek/src/gcc/gcc/cfgexpand.c:2245 0x7976a6 expand_gimple_stmt /home/polacek/src/gcc/gcc/cfgexpand.c:2305 0x7987f9 expand_gimple_basic_block /home/polacek/src/gcc/gcc/cfgexpand.c:4084 0x799fe1 gimple_expand_cfg /home/polacek/src/gcc/gcc/cfgexpand.c:4603 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.
next prev parent reply other threads:[~2012-11-29 7:58 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-11-28 21:16 [Bug c++/55520] New: [C++11 etlverified at gmail dot com 2012-11-28 21:17 ` [Bug c++/55520] [C++11] ICE when capturing a variable-length stack array in lambda; in expand_expr_real_1, at expr.c:9122 etlverified at gmail dot com 2012-11-29 7:58 ` mpolacek at gcc dot gnu.org [this message] 2012-11-30 9:31 ` paolo.carlini at oracle dot com 2013-06-07 2:27 ` jason at gcc dot gnu.org 2013-06-07 12:44 ` jason at gcc dot gnu.org
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-55520-4-U63F9exxhd@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).