public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/103147] New: ICE in register_tuple_type, at config/aarch64/aarch64-builtins.c:1313
Date: Tue, 09 Nov 2021 05:36:57 +0000	[thread overview]
Message-ID: <bug-103147-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 103147
           Summary: ICE in register_tuple_type, at
                    config/aarch64/aarch64-builtins.c:1313
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: aarch64-linux-gnu

gcc-12.0.0-alpha20211107 snapshot (g:962ff7d2849e1fa6a1fe0535aa2dec5c2b9a32a6)
ICEs when compiling the following line, found in include/arm_neon.h, w/
-fpack-struct:

% aarch64-linux-gnu-gcc-12.0.0 -fpack-struct -c gn1gzbom.c
gn1gzbom.c:1:9: internal compiler error: in register_tuple_type, at
config/aarch64/aarch64-builtins.c:1313
    1 | #pragma GCC aarch64 "arm_neon.h"
      |         ^~~
0x814570 register_tuple_type
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211107/work/gcc-12-20211107/gcc/config/aarch64/aarch64-builtins.c:1313
0x814570 handle_arm_neon_h()
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211107/work/gcc-12-20211107/gcc/config/aarch64/aarch64-builtins.c:1338
0x9ea621 aarch64_pragma_aarch64
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211107/work/gcc-12-20211107/gcc/config/aarch64/aarch64-c.c:300
0x926f77 c_parser_pragma
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211107/work/gcc-12-20211107/gcc/c/c-parser.c:12596
0x952ad5 c_parser_external_declaration
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211107/work/gcc-12-20211107/gcc/c/c-parser.c:1761
0x9530eb c_parser_translation_unit
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211107/work/gcc-12-20211107/gcc/c/c-parser.c:1653
0x9530eb c_parse_file()
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211107/work/gcc-12-20211107/gcc/c/c-parser.c:23222
0x9b9509 c_common_parse_file()
       
/var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211107/work/gcc-12-20211107/gcc/c-family/c-opts.c:1237

Practically every aarch64 target test in the gcc testsuite is affected  by
this.

             reply	other threads:[~2021-11-09  5:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-09  5:36 asolokha at gmx dot com [this message]
2021-11-09  7:13 ` [Bug target/103147] [12 Regression] ICE in register_tuple_type with include "arm_neon.h" and -fpack-struct pinskia at gcc dot gnu.org
2021-11-09 11:52 ` rguenth at gcc dot gnu.org
2022-02-08 17:01 ` jakub at gcc dot gnu.org
2022-03-21 16:49 ` jakub at gcc dot gnu.org
2022-04-04 13:12 ` rguenth at gcc dot gnu.org
2022-04-04 13:50 ` rsandifo at gcc dot gnu.org
2022-04-05 16:31 ` cvs-commit at gcc dot gnu.org
2022-04-05 16:41 ` 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-103147-4@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).