This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/64011] Fail to compile pr48335-2.c on big-endian aarch64
- From: "jiwang at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Dec 2014 18:01:50 +0000
- Subject: [Bug target/64011] Fail to compile pr48335-2.c on big-endian aarch64
- Auto-submitted: auto-generated
- References: <bug-64011-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64011
Jiong Wang <jiwang at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|aarch64-linux-gnu |aarch64-linux-gnu,
| |arm-linux-gnu
Status|NEW |ASSIGNED
Version|4.9.3 |5.0
--- Comment #1 from Jiong Wang <jiwang at gcc dot gnu.org> ---
the same problem exist on ARM when BFI instruction available, and because there
are more strict constraint, it's actually ICE on ARM.
./cc1 -march=armv7-a -O2 big-bug.c -nostdinc -mbig-endian
big-bug.c: In function âf5â:
big-bug.c:16:1: error: unrecognizable insn:
}
^
(insn 8 7 9 2 (set (zero_extract:SI (subreg:SI (reg/v:SF 112 [ s+4 ]) 0)
(const_int 16 [0x10])
(const_int -8 [0xfffffffffffffff8]))
(reg/v:SI 113 [ x ])) big-bug.c:13 -1
(nil))
big-bug.c:16:1: internal compiler error: in extract_insn, at recog.c:2327
0xc704af _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../gcc/gcc/rtl-error.c:110
0xc704f0 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
../../gcc/gcc/rtl-error.c:118
0xc252b9 extract_insn(rtx_insn*)
../../gcc/gcc/recog.c:2327
0x978084 instantiate_virtual_regs_in_insn
../../gcc/gcc/function.c:1582
0x979461 instantiate_virtual_regs
../../gcc/gcc/function.c:1950
0x979534 execute