public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/98272] [11 Regression] ICE: during GIMPLE pass: switchlower: in decompose, at wide-int.h:984 with -O -fno-tree-forwprop by r11-5836
Date: Wed, 16 Dec 2020 08:43:15 +0000	[thread overview]
Message-ID: <bug-98272-4-eW8oeOgfPn@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-98272-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98272

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <ebotcazou@gcc.gnu.org>:

https://gcc.gnu.org/g:61e3c180ad6913fa5af39059de5ba7b3bde50cda

commit r11-6110-g61e3c180ad6913fa5af39059de5ba7b3bde50cda
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Wed Dec 16 09:39:07 2020 +0100

    Fix PR tree-optimization/98272

    This fixes the precision mismatch introduced by the previous change.

    gcc/ChangeLog:
            PR tree-optimization/98272
            * tree-switch-conversion.c (bit_test_cluster::emit): When finding
            out whether the entry test can be merged in the bit test, do the
            computation using the type of the index expression.

    gcc/testsuite/ChangeLog:
            * gcc.dg/pr98272.c: New test.

  parent reply	other threads:[~2020-12-16  8:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-14 12:17 [Bug tree-optimization/98272] New: [11 Regression] ICE: during GIMPLE pass: switchlower: in decompose, at wide-int.h:984 with -O -fno-tree-forwprop zsojka at seznam dot cz
2020-12-14 16:34 ` [Bug tree-optimization/98272] [11 Regression] ICE: during GIMPLE pass: switchlower: in decompose, at wide-int.h:984 with -O -fno-tree-forwprop by r11-5836 marxin at gcc dot gnu.org
2020-12-14 16:48 ` ebotcazou at gcc dot gnu.org
2020-12-16  8:43 ` cvs-commit at gcc dot gnu.org [this message]
2020-12-16  8:43 ` ebotcazou 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-98272-4-eW8oeOgfPn@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: link
Be 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).