[Bug target/66358] [5/6 Regression] [SH] ICE: in extract_constrain_insn, at recog.c:2232
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Mar 22 22:04:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66358
--- Comment #19 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to David Binderman from comment #17)
> I had a go at cross compiling Linux kernel for sh, and got something similar
> with gcc 5.1.1 dated 20150618
With recent gcc trunk on x86_64, I get
$ ~/gcc/results/bin/gcc -c -O3 -march=native gcc.target/i386/pr70300.c
gcc.target/i386/pr70300.c: In function ‘bar’:
gcc.target/i386/pr70300.c:25:1: error: insn does not satisfy its constraints:
}
^
(insn 127 98 128 2 (set (reg:V4SF 53 xmm16 [125])
(vec_select:V4SF (vec_concat:V8SF (reg:V4SF 53 xmm16 [125])
(reg:V4SF 53 xmm16 [125]))
(parallel [
(const_int 0 [0])
(const_int 4 [0x4])
(const_int 1 [0x1])
(const_int 5 [0x5])
]))) gcc.target/i386/pr70300.c:21 2460 {vec_interleave_lowv4sf}
(nil))
gcc.target/i386/pr70300.c:25:1: internal compiler error: in
extract_constrain_insn, at recog.c:2190
0xb7d207 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../src/trunk/gcc/rtl-error.c:108
0xb7d23f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
../../src/trunk/gcc/rtl-error.c:119
0xb3b39e extract_constrain_insn(rtx_insn*)
../../src/trunk/gcc/recog.c:2190
0xb47120 copyprop_hardreg_forward_1
../../src/trunk/gcc/regcprop.c:774
0xb47f91 execute
../../src/trunk/gcc/regcprop.c:1280
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.
$
But if I remove the -march=native, all goes well:
$ ~/gcc/results/bin/gcc -c -O3 gcc.target/i386/pr70300.c
$
Exact CPU model seems to be
model name : AMD Phenom(tm) II X4 970 Processor
More information about the Gcc-bugs
mailing list