public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/79754] ICE in type_natural_mode with vector for DFP type
Date: Fri, 11 Feb 2022 16:37:57 +0000	[thread overview]
Message-ID: <bug-79754-4-FKaLi6kpvc@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-79754-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from Zdenek Sojka <zsojka at seznam dot cz> ---
This still ICEs on r12-7199:
$ x86_64-pc-linux-gnu-gcc testcase.c 
testcase.c: In function 'foo':
testcase.c:2:1: internal compiler error: in type_natural_mode, at
config/i386/i386.cc:1978
    2 | V foo (V a) { return a * a; }
      | ^
0x81e1e7 type_natural_mode
        /repo/gcc-trunk/gcc/config/i386/i386.cc:1978
0x172382a ix86_return_in_memory
        /repo/gcc-trunk/gcc/config/i386/i386.cc:4230
0x101084d aggregate_value_p(tree_node const*, tree_node const*)
        /repo/gcc-trunk/gcc/function.cc:2119
0x10154ac allocate_struct_function(tree_node*, bool)
        /repo/gcc-trunk/gcc/function.cc:4845
0xd26104 store_parm_decls()
        /repo/gcc-trunk/gcc/c/c-decl.cc:10160
0xd855c7 c_parser_declaration_or_fndef
        /repo/gcc-trunk/gcc/c/c-parser.cc:2505
0xd8d8a3 c_parser_external_declaration
        /repo/gcc-trunk/gcc/c/c-parser.cc:1779
0xd8e2eb c_parser_translation_unit
        /repo/gcc-trunk/gcc/c/c-parser.cc:1652
0xd8e2eb c_parse_file()
        /repo/gcc-trunk/gcc/c/c-parser.cc:23348
0xdef9fd c_common_parse_file()
        /repo/gcc-trunk/gcc/c-family/c-opts.cc:1238
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

but works on powerpc64le (at least, doesn't ICE; I didn't check if the code is
correct):
$ powerpc64le-unknown-linux-gnu-gcc testcase.c -c
(no output)

  parent reply	other threads:[~2022-02-11 16:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-79754-4@http.gcc.gnu.org/bugzilla/>
2021-07-24 16:56 ` pinskia at gcc dot gnu.org
2022-02-11 16:37 ` zsojka at seznam dot cz [this message]
2022-02-11 20:15 ` ubizjak at gmail dot com
2022-02-12  9:55 ` cvs-commit at gcc dot gnu.org
2022-02-13  9:18 ` cvs-commit at gcc dot gnu.org
2022-02-13 10:09 ` ubizjak at gmail dot com
2022-02-17 17:37 ` cvs-commit at gcc dot gnu.org
2022-02-17 17:38 ` cvs-commit at gcc dot gnu.org
2024-02-19 16:22 ` pinskia 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-79754-4-FKaLi6kpvc@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).