public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/103271] New: ICE in assign_stack_temp_for_type, at function.c:798 Date: Tue, 16 Nov 2021 08:55:38 +0000 [thread overview] Message-ID: <bug-103271-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271 Bug ID: 103271 Summary: ICE in assign_stack_temp_for_type, at function.c:798 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: qing.zhao at oracle dot com, rguenth at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux-gnu Target: riscv64-unknown-linux-gnu The following ICEs: $ riscv64-linux-gnu-gcc /home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/pr102285.c -Ofast -ftrivial-auto-var-init=pattern -mno-strict-align during RTL pass: expand /home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/pr102285.c: In function 'qy': /home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/pr102285.c:8:7: internal compiler error: in assign_stack_temp_for_type, at function.c:798 8 | int fb[tw]; | ^~ 0x5dd2da assign_stack_temp_for_type(machine_mode, poly_int<1u, long>, tree_node*) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/function.c:798 0x87b194 assign_temp(tree_node*, int, int) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/function.c:1018 0x839fcc expand_constructor /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/expr.c:8657 0x82b777 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/expr.c:10845 0x839652 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/expr.c:8739 0x839652 expand_normal /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/expr.h:307 0x839652 store_field /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/expr.c:7465 0x8368f7 expand_assignment(tree_node*, tree_node*, bool) /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/expr.c:5682 0x8fab7d expand_DEFERRED_INIT /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/internal-fn.c:3104 0x72f507 expand_call_stmt /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/cfgexpand.c:2749 0x72f507 expand_gimple_stmt_1 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/cfgexpand.c:3876 0x72f507 expand_gimple_stmt /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/cfgexpand.c:4040 0x733a77 expand_gimple_basic_block /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/cfgexpand.c:6082 0x735aa6 execute /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc/cfgexpand.c:6808 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 reply other threads:[~2021-11-16 8:55 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-16 8:55 marxin at gcc dot gnu.org [this message] 2021-11-16 8:55 ` [Bug target/103271] " marxin at gcc dot gnu.org 2021-11-16 9:39 ` rguenth at gcc dot gnu.org 2021-11-22 23:17 ` [Bug target/103271] ICE in assign_stack_temp_for_type with -ftrivial-auto-var-init=pattern and VLAs and -mno-strict-align on riscv64 qinzhao at gcc dot gnu.org 2021-11-23 7:33 ` marxin at gcc dot gnu.org 2021-11-23 7:47 ` rguenther at suse dot de 2021-11-23 16:22 ` qing.zhao at oracle dot com 2021-11-26 5:08 ` wilson at gcc dot gnu.org 2021-11-26 5:20 ` wilson at gcc dot gnu.org 2021-11-26 7:16 ` rguenther at suse dot de 2021-12-01 17:17 ` qinzhao at gcc dot gnu.org 2021-12-01 19:46 ` qinzhao at gcc dot gnu.org 2021-12-01 22:31 ` qinzhao at gcc dot gnu.org 2021-12-02 9:07 ` rguenth at gcc dot gnu.org 2021-12-02 9:29 ` rguenth at gcc dot gnu.org 2021-12-02 12:35 ` cvs-commit at gcc dot gnu.org 2021-12-02 12:36 ` rguenth at gcc dot gnu.org 2021-12-02 16:12 ` qinzhao at gcc dot gnu.org 2021-12-02 17:47 ` wilson at gcc dot gnu.org 2021-12-02 22:19 ` qinzhao at gcc dot gnu.org 2021-12-03 23:08 ` wilson 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-103271-4@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).