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/101496] New: ice during GIMPLE pass: evrp Date: Sun, 18 Jul 2021 07:42:17 +0000 [thread overview] Message-ID: <bug-101496-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101496 Bug ID: 101496 Summary: ice during GIMPLE pass: evrp 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: --- This C source code: int c_1, li_2, us_3, func_14_s_5; void func_14() { { unsigned uli_8 = 0; lbl1806324B: if (uli_8 /= us_3 |= func_14_s_5 < 0 | func_14_s_5 != c_1) { uli_8 += c_1 >= us_3; if (uli_8) ; else li_2 &&func_14_s_5 <= c_1 ?: 0; long *ptr_9 = &uli_8; } } goto lbl1806324B; } with recent gcc trunk does this: $ /home/dcb/gcc/results/bin/gcc -c -O2 bug736.c 2>&1 | more bug736.c: In function ‘func_14’: bug736.c:13:21: warning: initialization of ‘long int *’ from incompatible point er type ‘unsigned int *’ [-Wincompatible-pointer-types] 13 | long *ptr_9 = &uli_8; | ^ during GIMPLE pass: evrp bug736.c:17:1: internal compiler error: in fold_cond, at vr-values.c:3482 17 | } | ^ 0x7d8685 simplify_using_ranges::fold_cond(gcond*) ../../trunk.git/gcc/vr-values.c:3482 0x1334c24 simplify_using_ranges::simplify_cond_using_ranges_1(gcond*) ../../trunk.git/gcc/vr-values.c:3517 0x1160886 substitute_and_fold_dom_walker::before_dom_children(basic_block_def*) ../../trunk.git/gcc/tree-ssa-propagate.c:870 0x1ad3e77 dom_walker::walk(basic_block_def*) ../../trunk.git/gcc/domwalk.c:309 Bug first seems to occur sometime after git hash 42ff474e28fa3c85 but before cca7eb8f7cc157ed.
next reply other threads:[~2021-07-18 7:42 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-18 7:42 dcb314 at hotmail dot com [this message] 2021-07-18 7:51 ` [Bug tree-optimization/101496] [12 Regression] " pinskia at gcc dot gnu.org 2021-07-18 7:53 ` pinskia at gcc dot gnu.org 2021-07-18 9:12 ` dcb314 at hotmail dot com 2021-07-18 9:44 ` dcb314 at hotmail dot com 2021-07-18 9:59 ` dcb314 at hotmail dot com 2021-07-18 10:28 ` dcb314 at hotmail dot com 2021-07-19 6:36 ` rguenth at gcc dot gnu.org 2021-07-19 18:44 ` 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-101496-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).