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/105786] [12 Regression] ICE in compute_distributive_range, at tree-data-ref.cc:593 since r12-4283-g6f966f06146be7689af471d152e18ff50c609d99
Date: Thu, 02 Jun 2022 09:40:10 +0000	[thread overview]
Message-ID: <bug-105786-4-knRfERtHFu@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-105786-4@http.gcc.gnu.org/bugzilla/>

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

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

https://gcc.gnu.org/g:9f1e32c69d3f0cc04665587c18937a773616c6bd

commit r12-8453-g9f1e32c69d3f0cc04665587c18937a773616c6bd
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Jun 1 14:13:01 2022 +0200

    tree-optimization/105786 - avoid strlen replacement for pointers

    This avoids matching strlen to a pointer result, avoiding ICEing
    because of an integer adjustment using PLUS_EXPR on pointers.

    2022-06-01  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/105786
            * tree-loop-distribution.cc
            (loop_distribution::transform_reduction_loop): Only do strlen
            replacement for integer type reductions.

            * gcc.dg/torture/pr105786.c: New testcase.

    (cherry picked from commit 57a8fb92ac4161ebbf9381b009e8c5af843e3e5f)

  parent reply	other threads:[~2022-06-02  9:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-31  8:10 [Bug c++/105786] New: ICE in compute_distributive_range, at tree-data-ref.cc:593 gcc at olupton dot com
2022-05-31 15:37 ` [Bug tree-optimization/105786] " acoplan at gcc dot gnu.org
2022-06-01  9:22 ` [Bug tree-optimization/105786] ICE in compute_distributive_range, at tree-data-ref.cc:593 since r12-4283-g6f966f06146be7689af471d152e18ff50c609d99 acoplan at gcc dot gnu.org
2022-06-01  9:30 ` [Bug tree-optimization/105786] [12/13 Regression] " acoplan at gcc dot gnu.org
2022-06-01 12:01 ` rguenth at gcc dot gnu.org
2022-06-01 13:18 ` cvs-commit at gcc dot gnu.org
2022-06-02  9:40 ` cvs-commit at gcc dot gnu.org [this message]
2022-06-02  9:44 ` [Bug tree-optimization/105786] [12 " 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-105786-4-knRfERtHFu@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).