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/94784] ICE: in simplify_vector_constructor, at tree-ssa-forwprop.c:2482
Date: Mon, 27 Apr 2020 10:08:57 +0000	[thread overview]
Message-ID: <bug-94784-4-3mOKSFKIB1@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-94784-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Sandiford <rsandifo@gcc.gnu.org>:

https://gcc.gnu.org/g:5328710be314dee43da8027dbff547d48b85e35e

commit r10-7987-g5328710be314dee43da8027dbff547d48b85e35e
Author: Fei Yang <felix.yang@huawei.com>
Date:   Mon Apr 27 11:08:04 2020 +0100

    forwprop: Fix ICE when building an identity constructor [PR94784]

    In the testcase for PR94784, we have two vectors with the same ABI identity
    but with different TYPE_MODEs. It would be better to flip the assert around
    so that it checks that the two vectors have equal TYPE_VECTOR_SUBPARTS and
    that converting the corresponding element types is a
useless_type_conversion_p.

    2020-04-27  Felix Yang  <felix.yang@huawei.com>

    gcc/
            PR tree-optimization/94784
            * tree-ssa-forwprop.c (simplify_vector_constructor): Flip the
            assert around so that it checks that the two vectors have equal
            TYPE_VECTOR_SUBPARTS and that converting the corresponding element
            types is a useless_type_conversion_p.

    gcc/testsuite/
            PR tree-optimization/94784
            * gcc.dg/pr94784.c: New test.

  parent reply	other threads:[~2020-04-27 10:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27  7:04 [Bug tree-optimization/94784] New: " felix.yang at huawei dot com
2020-04-27  7:09 ` [Bug tree-optimization/94784] " felix.yang at huawei dot com
2020-04-27  7:10 ` felix.yang at huawei dot com
2020-04-27 10:08 ` cvs-commit at gcc dot gnu.org [this message]
2020-04-27 14:25 ` rsandifo 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-94784-4-3mOKSFKIB1@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).