public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "fkastl at suse dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111369] New: ICE in handle_cast, gimple-lower-bitint.cc:1486 with -Os Date: Mon, 11 Sep 2023 13:14:21 +0000 [thread overview] Message-ID: <bug-111369-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111369 Bug ID: 111369 Summary: ICE in handle_cast, gimple-lower-bitint.cc:1486 with -Os Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: fkastl at suse dot cz CC: jakub at redhat dot com, mjambor at suse dot cz Target Milestone: --- Host: x86_64-linux Target: x86_64-linux Compiling gcc/testsuite/gcc.dg/torture/bitint-42.c with -Os produces this error: ../gcc/gcc/testsuite/gcc.dg/torture/bitint-42.c: In function ‘main’: ../gcc/gcc/testsuite/gcc.dg/torture/bitint-42.c:50:1: internal compiler error: in handle_cast, at gimple-lower-bitint.cc:1486 50 | main () | ^~~~ 0x8cfc31 handle_cast ../../gcc/gcc/gimple-lower-bitint.cc:1486 0x1daafe8 handle_operand ../../gcc/gcc/gimple-lower-bitint.cc:791 0x1db31f0 lower_mergeable_stmt ../../gcc/gcc/gimple-lower-bitint.cc:2386 0x1db4c5d lower_stmt ../../gcc/gcc/gimple-lower-bitint.cc:4687 0x1db68fd gimple_lower_bitint ../../gcc/gcc/gimple-lower-bitint.cc:5767 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. An assert fails at the line 1486: 1478 else if (TREE_CODE (lhs_type) == BITINT_TYPE 1479 && bitint_precision_kind (lhs_type) >= bitint_prec_large 1480 && INTEGRAL_TYPE_P (rhs_type)) 1481 { 1482 /* Add support for 3 or more limbs filled in from normal integral 1483 type if this assert fails. If no target chooses limb mode smaller 1484 than half of largest supported normal integral type, this will not 1485 be needed. */ 1486 gcc_assert (TYPE_PRECISION (rhs_type) <= 2 * limb_prec); 1487 tree r1 = NULL_TREE, r2 = NULL_TREE, rext = NULL_TREE; 1488 if (m_first) 1489 {
next reply other threads:[~2023-09-11 13:14 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-09-11 13:14 fkastl at suse dot cz [this message] 2023-09-11 13:16 ` [Bug middle-end/111369] " jakub at gcc dot gnu.org 2023-09-11 13:17 ` [Bug middle-end/111369] [14 Regression] " jakub at gcc dot gnu.org 2023-10-04 7:32 ` cvs-commit at gcc dot gnu.org 2023-10-04 7:34 ` 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-111369-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).