public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/110116] [12/13 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed
Date: Thu, 02 Nov 2023 18:29:41 +0000	[thread overview]
Message-ID: <bug-110116-4-MTfM4S4shG@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-110116-4@http.gcc.gnu.org/bugzilla/>

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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[12/13/14 Regression] ICE   |[12/13 Regression] ICE on
                   |on valid code at -O3 on     |valid code at -O3 on
                   |x86_64-linux-gnu:           |x86_64-linux-gnu:
                   |verify_gimple failed        |verify_gimple failed
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=111614
      Known to work|                            |14.0

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
r14-4303-g88d79b9b03eccf fixed it:

88d79b9b03eccf39921d13c2cbd1acc50aeda126 is the first fixed commit
commit 88d79b9b03eccf39921d13c2cbd1acc50aeda126
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Sep 28 09:41:30 2023 +0200

    tree-optimization/111614 - missing convert in
undistribute_bitref_for_vector

    The following adjusts a flawed guard for converting the first vector
    of the sum we create in undistribute_bitref_for_vector.

            PR tree-optimization/111614
            * tree-ssa-reassoc.cc (undistribute_bitref_for_vector): Properly
            convert the first vector when required.

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

 gcc/testsuite/gcc.dg/torture/pr111614.c | 23 +++++++++++++++++++++++
 gcc/tree-ssa-reassoc.cc                 | 27 +++++++++++++++------------
 2 files changed, 38 insertions(+), 12 deletions(-)
 create mode 100644 gcc/testsuite/gcc.dg/torture/pr111614.c

Maybe a candidate for backporting?  Unlike PR111614, this does not appear
to be latent.

  parent reply	other threads:[~2023-11-02 18:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-04 21:24 [Bug tree-optimization/110116] New: " zhendong.su at inf dot ethz.ch
2023-06-04 22:17 ` [Bug tree-optimization/110116] [12/13/14 Regression] " pinskia at gcc dot gnu.org
2023-06-05  6:51 ` rguenth at gcc dot gnu.org
2023-11-01 19:22 ` tkoenig at gcc dot gnu.org
2023-11-02 18:29 ` tkoenig at gcc dot gnu.org [this message]
2023-12-15 12:23 ` [Bug tree-optimization/110116] [12/13 " rguenth at gcc dot gnu.org
2024-05-08 11:56 ` 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-110116-4-MTfM4S4shG@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).