public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/101497] New: ice in type, at value-range.h:221 Date: Sun, 18 Jul 2021 07:53:24 +0000 [thread overview] Message-ID: <bug-101497-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101497 Bug ID: 101497 Summary: ice in type, at value-range.h:221 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this C code: char uc_1; int i_4, func_12_uli_6; void func_12() { int *ptr_8 = &func_12_uli_6; *ptr_8 = 0 >= 211 - uc_1 <= 0; i_4 %= 0; i_4 *= *ptr_8; } compiled by recent gcc trunk, does this: $ /home/dcb/gcc/results/bin/gcc -c -O2 -w bug737.c during GIMPLE pass: evrp bug737.c: In function ‘func_12’: bug737.c:8:1: internal compiler error: in type, at value-range.h:221 8 | } | ^ 0x884da8 irange::type() const ../../trunk.git/gcc/value-range.h:221 0x884da8 fold_using_range::range_of_cond_expr(irange&, gassign*, fur_source&) ../../trunk.git/gcc/gimple-range-fold.cc:1114 0x1b0e0ac fold_using_range::fold_stmt(irange&, gimple*, fur_source&, tree_node* ) ../../trunk.git/gcc/gimple-range-fold.cc:521 0x1b00091 gimple_ranger::fold_range_internal(irange&, gimple*, tree_node*) ../../trunk.git/gcc/gimple-range.cc:154 Bug first seems to occur sometime between git hash 7466a0a5d8d536ab and 94ba897be8b59ef5
next reply other threads:[~2021-07-18 7:53 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-18 7:53 dcb314 at hotmail dot com [this message] 2021-07-18 7:58 ` [Bug tree-optimization/101497] [12 Regression] " pinskia at gcc dot gnu.org 2021-07-18 7:58 ` pinskia at gcc dot gnu.org 2021-07-18 16:38 ` dcb314 at hotmail dot com 2021-07-18 16:56 ` dcb314 at hotmail dot com 2021-07-18 17:58 ` dcb314 at hotmail dot com 2021-07-19 6:36 ` rguenth at gcc dot gnu.org 2021-07-19 19:11 ` amacleod at redhat dot com 2021-07-22 12:53 ` cvs-commit at gcc dot gnu.org 2021-07-22 13:07 ` amacleod at redhat dot com
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-101497-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).