public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "crazylht at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/104496] [12 Regression] ICE: in as_a, at machmode.h:365 with -O -mgeneral-regs-only -msse
Date: Fri, 11 Feb 2022 07:44:42 +0000	[thread overview]
Message-ID: <bug-104496-4-HaJz33hnE3@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-104496-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from Hongtao.liu <crazylht at gmail dot com> ---
(In reply to Hongtao.liu from comment #2)
> here is type V, a vector type with DImode and hit ICE in build 
> build_vector_type_for_mode (type, mode) which take type as inner_type.
> 
>  <vector_type 0x7fffea3ec498
>     type <integer_type 0x7fffea2fe5e8 int public SI
>         size <integer_cst 0x7fffea2e2f90 constant 32>
>         unit-size <integer_cst 0x7fffea2e2fa8 constant 4>
>         align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
> 0x7fffea2fe5e8 precision:32 min <integer_cst 0x7fffea2e2f48 -2147483648> max
> <integer_cst 0x7fffea2e2f60 2147483647>
>         pointer_to_this <pointer_type 0x7fffea3069d8>>
>     DI
>     size <integer_cst 0x7fffea2e2d50 type <integer_type 0x7fffea2fe0a8
> bitsizetype> constant 64>
>     unit-size <integer_cst 0x7fffea2e2d68 type <integer_type 0x7fffea2fe000
> sizetype> constant 8>

/* If TYPE is a vector type, return true if IFN is a direct internal
   function that is supported for that type.  If TYPE is a scalar type,
   return true if IFN is a direct internal function that is supported for
   the target's preferred vector version of TYPE.  */

Hmm, TYPE is vector type, but mode is scalar mode.

  parent reply	other threads:[~2022-02-11  7:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-11  5:45 [Bug target/104496] New: " zsojka at seznam dot cz
2022-02-11  6:52 ` [Bug target/104496] " crazylht at gmail dot com
2022-02-11  7:40 ` crazylht at gmail dot com
2022-02-11  7:44 ` crazylht at gmail dot com [this message]
2022-02-11  9:24 ` rguenth at gcc dot gnu.org
2022-02-11 10:28 ` cvs-commit at gcc dot gnu.org
2022-02-11 10:55 ` 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-104496-4-HaJz33hnE3@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).