public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/101505] [10/11 Regression] ICE: verify_gimple failed (error: incompatible types in 'PHI' argument 0)
Date: Thu, 05 Aug 2021 08:16:25 +0000	[thread overview]
Message-ID: <bug-101505-4-oaEbIdX24u@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-101505-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to David Binderman from comment #5)
> Certainly works for -O3, but doesn't for -O3 -march=bdver2.
> 
> during RTL pass: expand
> ./gcc.dg/vect/pr101505.c: In function ‘w7.simdclone.6’:
> ./gcc.dg/vect/pr101505.c:15:10: internal compiler error: in expand_mult, at
> expm
> ed.c:3585
>    15 |   return xb;
>       |          ^~
> 0x91344a expand_mult(machine_mode, rtx_def*, rtx_def*, rtx_def*, int, bool)
> 	../../trunk.git/gcc/expmed.c:3585
> 
> It breaks sometime between git hash 145bc41dae7c7bfa and 14d8a5ae472ca574

This is a different bug though, probably caused by HJs changes, looks like
the fixed PR101742, indeed updating and re-building my dev tree makes the
issue go away.

gcc.dg/vect/pr101505.c:15:10: internal compiler error: in expand_mult, at
expmed.c:3585
0xe14f0a expand_mult(machine_mode, rtx_def*, rtx_def*, rtx_def*, int, bool)
        /home/rguenther/src/gcc2/gcc/expmed.c:3585
0xc3584d builtin_memset_gen_str
        /home/rguenther/src/gcc2/gcc/builtins.c:4124
0xe25ee4 pieces_addr::adjust(fixed_size_mode, long, by_pieces_prev*)
        /home/rguenther/src/gcc2/gcc/expr.c:1036
0xe268a8 op_by_pieces_d::run()
        /home/rguenther/src/gcc2/gcc/expr.c:1252
0xe273ed store_by_pieces(rtx_def*, unsigned long, rtx_def* (*)(void*, void*,
long, fixed_size_mode), void*, unsigned int, bool, memop_ret)
        /home/rguenther/src/gcc2/gcc/expr.c:1579

  parent reply	other threads:[~2021-08-05  8:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-19  7:35 [Bug target/101505] New: [10/11/12 " asolokha at gmx dot com
2021-07-19  7:45 ` [Bug target/101505] " rguenth at gcc dot gnu.org
2021-07-19 11:26 ` rguenth at gcc dot gnu.org
2021-07-19 11:26 ` rguenth at gcc dot gnu.org
2021-07-19 12:21 ` cvs-commit at gcc dot gnu.org
2021-07-19 12:22 ` [Bug target/101505] [10/11 " rguenth at gcc dot gnu.org
2021-08-04 20:49 ` dcb314 at hotmail dot com
2021-08-04 21:13 ` dcb314 at hotmail dot com
2021-08-05  8:16 ` rguenth at gcc dot gnu.org [this message]
2021-08-05 18:31 ` dcb314 at hotmail dot com
2021-08-06  9:43 ` cvs-commit at gcc dot gnu.org
2021-09-06  9:10 ` [Bug target/101505] [10 " rguenth at gcc dot gnu.org
2022-06-28 10:45 ` jakub at gcc dot gnu.org
2023-07-07  9:44 ` 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-101505-4-oaEbIdX24u@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).