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/112767] [14 regression] spurious -Waggressive-loop-optimizations since r14-2944-g3d48c11ad082de
Date: Thu, 30 Nov 2023 12:35:25 +0000	[thread overview]
Message-ID: <bug-112767-4-hkOhhe2L9e@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-112767-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:2dde9f326ded84814a78c3044294b535c1f97b41

commit r14-6010-g2dde9f326ded84814a78c3044294b535c1f97b41
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Nov 30 12:38:53 2023 +0100

    tree-optimization/112767 - spurious diagnostic after sccp/loop-split swap

    We are diagnosing an unreachable loop which we only manage to elide
    after the copyprop pass after sccp which leaves the code open for
    diagnosing by the intermittent ivcanon pass.  The following makes sure
    to clean things up a bit earlier, propagating constant final values
    to uses immediately.

            PR tree-optimization/112767
            * tree-scalar-evolution.cc (final_value_replacement_loop):
            Propagate constants to immediate uses immediately.

            * gcc.dg/tree-ssa/pr112767.c: New testcase.
            * gcc.dg/graphite/pr83255.c: Disable SCCP.

  parent reply	other threads:[~2023-11-30 12:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-29 18:24 [Bug c++/112767] New: [14 regression] spurious -Waggressive-loop-optimizations sss@li-snyder.org
2023-11-29 18:34 ` [Bug tree-optimization/112767] " pinskia at gcc dot gnu.org
2023-11-29 22:08 ` ppalka at gcc dot gnu.org
2023-11-30 11:42 ` [Bug tree-optimization/112767] [14 regression] spurious -Waggressive-loop-optimizations since r14-2944-g3d48c11ad082de rguenth at gcc dot gnu.org
2023-11-30 12:35 ` cvs-commit at gcc dot gnu.org [this message]
2023-11-30 12:36 ` 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-112767-4-hkOhhe2L9e@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).