public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/102960] [10/11/12 Regression] ICE: in sign_mask, at wide-int.h:855 in GCC 10.3.0 Date: Wed, 27 Oct 2021 15:50:44 +0000 [thread overview] Message-ID: <bug-102960-4-s3UjsxX2WM@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-102960-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102960 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Known to fail| |10.3.0, 11.2.0, 12.0 Summary|ICE: in sign_mask, at |[10/11/12 Regression] ICE: |wide-int.h:855 in GCC |in sign_mask, at |10.3.0 |wide-int.h:855 in GCC | |10.3.0 Last reconfirmed| |2021-10-27 Status|UNCONFIRMED |NEW --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed with 10 and above. The code below expects minlen to be constant but it's actually a COND_EXPR. /* Adjust the minimum and maximum length determined so far and the upper bound on the array size. */ if (!pdata->minlen || tree_int_cst_lt (argdata.minlen, pdata->minlen)) pdata->minlen = argdata.minlen; The length is computed from the variable below: <ssa_name 0x7fffea150f30 type <pointer_type 0x7fffea8215e8 type <integer_type 0x7fffea821540 char readonly public type_6 QI size <integer_cst 0x7fffea817048 constant 8> unit-size <integer_cst 0x7fffea817060 constant 1> align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7fffea821540 precision:8 min <integer_cst 0x7fffea817090 -128> max <integer_cst 0x7fffea8170c0 127> pointer_to_this <pointer_type 0x7fffea8215e8> reference_to_this <reference_type 0x7fffe9d8b1f8>> sizes-gimplified public unsigned type_6 DI size <integer_cst 0x7fffea7f5f48 constant 64> unit-size <integer_cst 0x7fffea7f5f60 constant 8> align:64 warn_if_not_align:0 symtab:0 alias-set 3 canonical-type 0x7fffea8215e8 pointer_to_this <pointer_type 0x7fffea9d5540>> visited var <var_decl 0x7fffe912f900 sNaN> def_stmt sNaN_8 = &", NaN"[commaAdjust_2]; version:8>
next prev parent reply other threads:[~2021-10-27 15:50 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-27 12:47 [Bug c++/102960] New: " pnarsing at mathworks dot com 2021-10-27 15:50 ` msebor at gcc dot gnu.org [this message] 2021-10-27 21:21 ` [Bug tree-optimization/102960] [10/11/12 Regression] " pinskia at gcc dot gnu.org 2021-10-28 10:08 ` acoplan at gcc dot gnu.org 2021-10-28 11:39 ` acoplan at gcc dot gnu.org 2021-10-28 15:37 ` msebor at gcc dot gnu.org 2021-11-05 13:43 ` rguenth at gcc dot gnu.org 2021-11-16 16:23 ` cvs-commit at gcc dot gnu.org 2021-11-16 16:24 ` [Bug tree-optimization/102960] [10/11 " msebor at gcc dot gnu.org 2022-06-28 10:46 ` jakub at gcc dot gnu.org 2023-07-07 10:41 ` [Bug tree-optimization/102960] [11 " rguenth 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-102960-4-s3UjsxX2WM@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).