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/105431] ICE: SIGSEGV in powi_as_mults_1 (tree-ssa-math-opts.cc:1512) with -Ofast and __builtin_pow()
Date: Thu, 19 May 2022 14:03:36 +0000	[thread overview]
Message-ID: <bug-105431-4-0IsPvfG24W@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-105431-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:16a2fcfe247364088ca9d6d058d870bdfa28b345

commit r11-10020-g16a2fcfe247364088ca9d6d058d870bdfa28b345
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Apr 29 08:45:48 2022 +0200

    tree-optimization/105431 - another overflow in powi handling

    This avoids undefined signed overflow when calling powi_as_mults_1.

    2022-04-29  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/105431
            * tree-ssa-math-opts.c (powi_as_mults_1): Make n unsigned.
            (powi_as_mults): Use absu_hwi.
            (gimple_expand_builtin_powi): Remove now pointless n != -n
            check.

    (cherry picked from commit 44b09adb9bad99dd7e3017c5ecefed7f7c9a1590)

  parent reply	other threads:[~2022-05-19 14:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-29  5:27 [Bug tree-optimization/105431] New: " zsojka at seznam dot cz
2022-04-29  6:45 ` [Bug tree-optimization/105431] " rguenth at gcc dot gnu.org
2022-04-29  6:45 ` rguenth at gcc dot gnu.org
2022-04-29  8:04 ` jakub at gcc dot gnu.org
2022-04-29  8:17 ` rguenther at suse dot de
2022-04-29  8:23 ` zsojka at seznam dot cz
2022-04-29  9:10 ` cvs-commit at gcc dot gnu.org
2022-04-29  9:11 ` rguenth at gcc dot gnu.org
2022-05-19 12:47 ` cvs-commit at gcc dot gnu.org
2022-05-19 14:03 ` cvs-commit at gcc dot gnu.org [this message]
2022-05-27 13:15 ` cvs-commit at gcc dot gnu.org
2022-05-27 13:16 ` rguenth at gcc dot gnu.org
2022-10-31 19:57 ` pinskia 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-105431-4-0IsPvfG24W@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).