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/114108] [14 regression] ICE when building opencv-4.8.1 (error: type mismatch in binary expression) since r14-1833
Date: Fri, 15 Mar 2024 06:18:19 +0000	[thread overview]
Message-ID: <bug-114108-4-Ga8StkferM@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-114108-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tejas Belagod <belagod@gcc.gnu.org>:

https://gcc.gnu.org/g:81f3d963e05de8b17d4ccc7667ead9ed156193a4

commit r14-9487-g81f3d963e05de8b17d4ccc7667ead9ed156193a4
Author: Tejas Belagod <tejas.belagod@arm.com>
Date:   Wed Mar 6 15:30:26 2024 +0530

    vect: Call vect_convert_output with the right vecitype [PR114108]

    This patch fixes a bug where vect_recog_abd_pattern called
vect_convert_output
    with the incorrect vecitype for the corresponding pattern_stmt.
    vect_convert_output expects vecitype to be the vector form of the scalar
type
    of the LHS of pattern_stmt, but we were passing in the vector form of the
LHS
    of the new impending conversion statement.  This caused a skew in ABD's
    pattern_stmt having the vectype of the following gimple pattern_stmt.

            2024-03-06  Tejas Belagod  <tejas.belagod@arm.com>

    gcc/ChangeLog:

            PR middle-end/114108
            * tree-vect-patterns.cc (vect_recog_abd_pattern): Call
            vect_convert_output with the correct vecitype.

    gcc/testsuite/ChangeLog:
            * gcc.dg/vect/pr114108.c: New test.

  parent reply	other threads:[~2024-03-15  6:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-26  0:54 [Bug middle-end/114108] New: [14 regression] ICE when building opencv-4.8.1 (error: type mismatch in binary expression) sjames at gcc dot gnu.org
2024-02-26  0:55 ` [Bug middle-end/114108] " sjames at gcc dot gnu.org
2024-02-26  0:59 ` [Bug tree-optimization/114108] " pinskia at gcc dot gnu.org
2024-02-26  1:01 ` pinskia at gcc dot gnu.org
2024-02-26  5:34 ` pinskia at gcc dot gnu.org
2024-02-26  5:41 ` pinskia at gcc dot gnu.org
2024-02-28 13:00 ` [Bug tree-optimization/114108] [14 regression] ICE when building opencv-4.8.1 (error: type mismatch in binary expression) since r14-1833 jakub at gcc dot gnu.org
2024-02-28 18:27 ` pinskia at gcc dot gnu.org
2024-02-28 18:28 ` jakub at gcc dot gnu.org
2024-03-04 13:18 ` rguenth at gcc dot gnu.org
2024-03-05  8:58 ` belagod at gcc dot gnu.org
2024-03-06  8:25 ` belagod at gcc dot gnu.org
2024-03-15  6:18 ` cvs-commit at gcc dot gnu.org [this message]
2024-03-15  6:31 ` belagod at gcc dot gnu.org
2024-03-15  6:31 ` sjames 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-114108-4-Ga8StkferM@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).