public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/97487] New: [10/11 Regression] ICE in expand_simple_binop, at optabs.c:939 Date: Mon, 19 Oct 2020 09:28:33 +0000 [thread overview] Message-ID: <bug-97487-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97487 Bug ID: 97487 Summary: [10/11 Regression] ICE in expand_simple_binop, at optabs.c:939 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-11.0.0-alpha20201018 snapshot (g:1e70b1a358b6ce3b894f284d88fbb90518d45cc0) ICEs when compiling the following testcase w/ -O3 --param max-rtl-if-conversion-unpredictable-cost=0: long int __attribute__ ((simd)) i1 (long int kt, long int sg) { return kt < 0 ? sg : 0; } % gcc-11.0.0 -O3 --param max-rtl-if-conversion-unpredictable-cost=0 -c xaw8sf5n.c during RTL pass: ce1 xaw8sf5n.c: In function 'i1.simdclone.0': xaw8sf5n.c:5:1: internal compiler error: in expand_simple_binop, at optabs.c:939 5 | } | ^ 0x69936d expand_simple_binop(machine_mode, rtx_code, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/optabs.c:939 0x69936d expand_simple_binop(machine_mode, rtx_code, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/optabs.c:934 0xa65578 force_operand(rtx_def*, rtx_def*) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/expr.c:7720 0xa3baea copy_to_mode_reg(machine_mode, rtx_def*) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/explow.c:629 0xca49bb maybe_legitimize_operand /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/optabs.c:7199 0xca49bb maybe_legitimize_operands(insn_code, unsigned int, unsigned int, expand_operand*) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/optabs.c:7331 0xca1c09 maybe_gen_insn(insn_code, unsigned int, expand_operand*) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/optabs.c:7350 0xca74ad expand_binop_directly /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/optabs.c:1122 0xca5b2f expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/optabs.c:1209 0x17a9183 noce_try_sign_mask /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/ifcvt.c:2780 0x17a9183 noce_process_if_block /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/ifcvt.c:3610 0x17a9183 noce_find_if_block /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/ifcvt.c:4075 0x17a9183 find_if_header /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/ifcvt.c:4280 0x17a9183 if_convert /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/ifcvt.c:5413 0x17a92b1 rest_of_handle_if_conversion /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/ifcvt.c:5478 0x17a92b1 execute /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201018/work/gcc-11-20201018/gcc/ifcvt.c:5518
next reply other threads:[~2020-10-19 9:28 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-10-19 9:28 asolokha at gmx dot com [this message] 2020-10-19 9:47 ` [Bug middle-end/97487] " rguenth at gcc dot gnu.org 2020-10-19 12:13 ` [Bug middle-end/97487] [10/11 Regression] ICE in expand_simple_binop, at optabs.c:939 since r10-1420-g744fd446c321f78f marxin at gcc dot gnu.org 2020-10-19 17:57 ` jakub at gcc dot gnu.org 2020-10-20 8:13 ` [Bug middle-end/97487] [8/9/10/11 Regression] ICE in expand_simple_binop, at optabs.c:939 since r8-3977 jakub at gcc dot gnu.org 2021-01-14 9:26 ` rguenth at gcc dot gnu.org 2021-02-01 16:45 ` jakub at gcc dot gnu.org 2021-02-03 8:10 ` cvs-commit at gcc dot gnu.org 2021-02-03 8:12 ` [Bug middle-end/97487] [8/9/10 " jakub at gcc dot gnu.org 2021-03-19 23:28 ` cvs-commit at gcc dot gnu.org 2021-03-20 8:06 ` [Bug middle-end/97487] [8/9 " jakub at gcc dot gnu.org 2021-04-20 23:32 ` cvs-commit at gcc dot gnu.org 2021-04-22 16:50 ` cvs-commit at gcc dot gnu.org 2021-04-22 17:07 ` jakub 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-97487-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).