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/68102] New: [5/6 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1782 with float64x1_t @ aarch64 Date: Mon, 26 Oct 2015 17:17:00 -0000 [thread overview] Message-ID: <bug-68102-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68102 Bug ID: 68102 Summary: [5/6 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1782 with float64x1_t @ aarch64 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Created attachment 36591 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36591&action=edit reduced testcase This might be a fallback of PR60825. The code ICEs with: typedef __Float64x1_t float64x1_t; but works with: typedef double float64x1_t; which was the case for 4.x The code has #include "arm_neon.h", but it can be changed to the typedef above. RTL checking is needed to get this ICE. Compiler output: $ gcc -O2 testcase.c testcase.c: In function 'foo': testcase.c:20:1: internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1782 } ^ 0xa90e27 rtl_check_failed_code1(rtx_def const*, rtx_code, char const*, int, char const*) /mnt/svn/gcc-trunk/gcc/rtl.c:811 0x55f883 rhs_regno /mnt/svn/gcc-trunk/gcc/rtl.h:1782 0x10571a6 rhs_regno /mnt/svn/gcc-trunk/gcc/config/aarch64/atomics.md:510 0x10571a6 split_insns(rtx_def*, rtx_insn*) /mnt/svn/gcc-trunk/gcc/config/aarch64/aarch64.md:1031 0x7a17b0 try_split(rtx_def*, rtx_insn*, int) /mnt/svn/gcc-trunk/gcc/emit-rtl.c:3666 0xa4a030 split_insn /mnt/svn/gcc-trunk/gcc/recog.c:2874 0xa5249f split_all_insns() /mnt/svn/gcc-trunk/gcc/recog.c:2964 0xa52588 execute /mnt/svn/gcc-trunk/gcc/recog.c:3881 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r229293 - ICE 5-branch r229292 - ICE (even at -O1) 4_9-branch r229291 - OK (it is using the other typedef)
next reply other threads:[~2015-10-26 17:17 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-10-26 17:17 zsojka at seznam dot cz [this message] 2015-10-26 17:18 ` [Bug target/68102] " zsojka at seznam dot cz 2015-10-27 10:19 ` rguenth at gcc dot gnu.org 2015-10-27 11:51 ` ktkachov at gcc dot gnu.org 2015-10-27 18:33 ` ktkachov at gcc dot gnu.org 2015-10-28 13:32 ` ktkachov at gcc dot gnu.org 2015-10-28 13:42 ` ktkachov 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-68102-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: linkBe 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).