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/111445] [12 Regression] Wrong code at -Os on x86_64-linux-gnu since r12-1077-g57bf3751511 Date: Fri, 21 Jun 2024 09:22:32 +0000 [thread overview] Message-ID: <bug-111445-4-cWrVPWRb4F@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-111445-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111445 --- Comment #12 from GCC 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:ce653fa683643d4e5a7146181954358f1060dfed commit r11-11526-gce653fa683643d4e5a7146181954358f1060dfed Author: Richard Biener <rguenther@suse.de> Date: Fri Oct 20 15:08:49 2023 +0200 tree-optimization/111445 - simple_iv simplification fault The following fixes a missed check in the simple_iv attempt to simplify (signed T)((unsigned T) base + step) where it allows a truncating inner conversion leading to wrong code. PR tree-optimization/111445 * tree-scalar-evolution.c (simple_iv_with_niters): Add missing check for a sign-conversion. * gcc.dg/torture/pr111445.c: New testcase. (cherry picked from commit 9692309ed6b625f0fb358c0e230404b5603f69a6)
prev parent reply other threads:[~2024-06-21 9:22 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-09-17 13:21 [Bug tree-optimization/111445] New: " shaohua.li at inf dot ethz.ch 2023-09-17 16:12 ` [Bug tree-optimization/111445] [12/13/14 Regression] " pinskia at gcc dot gnu.org 2023-09-18 9:14 ` rguenth at gcc dot gnu.org 2023-10-20 12:04 ` rguenth at gcc dot gnu.org 2023-10-20 12:36 ` rguenth at gcc dot gnu.org 2023-10-20 13:08 ` rguenth at gcc dot gnu.org 2023-10-20 13:53 ` cvs-commit at gcc dot gnu.org 2023-10-20 13:54 ` [Bug tree-optimization/111445] [12/13 " rguenth at gcc dot gnu.org 2023-11-10 14:24 ` cvs-commit at gcc dot gnu.org 2023-11-14 14:20 ` [Bug tree-optimization/111445] [12 " rguenth at gcc dot gnu.org 2023-11-27 13:09 ` cvs-commit at gcc dot gnu.org 2023-11-27 13:10 ` rguenth at gcc dot gnu.org 2024-06-21 9:22 ` cvs-commit at gcc dot gnu.org [this message]
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-111445-4-cWrVPWRb4F@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).