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 ipa/103277] New: [12 Regression] ICE in branch_prob, at profile.c:1208 Date: Tue, 16 Nov 2021 16:42:20 +0000 [thread overview] Message-ID: <bug-103277-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103277 Bug ID: 103277 Summary: [12 Regression] ICE in branch_prob, at profile.c:1208 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-checking, ice-on-valid-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com CC: marxin at gcc dot gnu.org Target Milestone: --- gcc-12.0.0-alpha20111114 snapshot (g:3057f1ab737582a9fb37a3fb967ed8bf3659f2f4) ICEs when compiling the following testcase w/ -O1 -fbranch-probabilities -fno-ipa-pure-const: __attribute__ ((returns_twice)) void bar (void) { } void foo (int cond) { if (cond) bar (); } % gcc-12.0.0 -O1 -fbranch-probabilities -fno-ipa-pure-const -c sgluc81f.c during IPA pass: profile sgluc81f.c: In function 'foo': sgluc81f.c:11:1: internal compiler error: in branch_prob, at profile.c:1208 11 | } | ^ 0xdf5de2 branch_prob(bool) /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/profile.c:1208 0xf8e20f tree_profiling /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-profile.c:782 0xf8e20f execute /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-profile.c:888
next reply other threads:[~2021-11-16 16:42 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-16 16:42 asolokha at gmx dot com [this message] 2021-11-17 5:35 ` [Bug ipa/103277] " pinskia at gcc dot gnu.org 2021-11-17 5:44 ` [Bug ipa/103277] [12 Regression] ICE in branch_prob with -O1 -fbranch-probabilities -fno-ipa-pure-const pinskia at gcc dot gnu.org 2021-11-18 8:00 ` rguenth at gcc dot gnu.org 2021-11-18 8:36 ` [Bug ipa/103277] [12 Regression] ICE in branch_prob with -O1 -fbranch-probabilities -fno-ipa-pure-const since r12-5236-g5aa91072e24c1e16 marxin at gcc dot gnu.org 2021-11-18 8:47 ` hubicka at kam dot mff.cuni.cz 2021-11-18 9:02 ` cvs-commit at gcc dot gnu.org 2021-11-18 9:02 ` 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-103277-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).