This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/65510] New: target-tic6x: unrecognizable insn with -O(1,2,3,s).
- From: "gang.chen.5i5j at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Mar 2015 08:49:38 +0000
- Subject: [Bug target/65510] New: target-tic6x: unrecognizable insn with -O(1,2,3,s).
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65510
Bug ID: 65510
Summary: target-tic6x: unrecognizable insn with -O(1,2,3,s).
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: gang.chen.5i5j at gmail dot com
[root@localhost c6x]# cat test.i
int oxu_driver_init(void)
{
*(volatile unsigned int *)(-1) = *(unsigned int *)(-1);
}
[root@localhost c6x]#
/upstream/release-c6x/libexec/gcc/tic6x-gchen-elf/5.0.0/cc1 -Os test.i
oxu_driver_init
test.i: In function 'oxu_driver_init':
test.i:4:1: error: unrecognizable insn:
}
^
(insn 9 8 12 2 (set (mem/v:SI (reg/f:SI 77) [1 MEM[(volatile unsigned int
*)4294967295B]+0 S4 A8])
(unspec:SI [
(reg:SI 73 [ D.1542 ])
] UNSPEC_MISALIGNED_ACCESS)) test.i:3 -1
(nil))
test.i:4:1: internal compiler error: in extract_insn, at recog.c:2343
0x9f8645 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../gcc-c6x/gcc/rtl-error.c:110
0x9f8679 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
../../gcc-c6x/gcc/rtl-error.c:118
0x9ce127 extract_insn(rtx_insn*)
../../gcc-c6x/gcc/recog.c:2343
0x7c759b instantiate_virtual_regs_in_insn
../../gcc-c6x/gcc/function.c:1598
0x7c759b instantiate_virtual_regs
../../gcc-c6x/gcc/function.c:1966
0x7c759b execute
../../gcc-c6x/gcc/function.c:2015
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.
[root@localhost c6x]#
[root@localhost c6x]# /upstream/release-c6x/bin/tic6x-gchen-elf-gcc -v
Using built-in specs.
COLLECT_GCC=/upstream/release-c6x/bin/tic6x-gchen-elf-gcc
COLLECT_LTO_WRAPPER=/upstream/release-c6x/libexec/gcc/tic6x-gchen-elf/5.0.0/lto-wrapper
Target: tic6x-gchen-elf
Configured with: ../gcc-c6x/configure --target=tic6x-gchen-elf --disable-nls
--enable-languages=c --disable-threads --disable-shared --disable-libssp
--disable-libquadmath --disable-libgomp --disable-libatomic
--prefix=/upstream/release-c6x --without-headers
Thread model: single
gcc version 5.0.0 20150321 (experimental) (GCC)
- Follow-Ups:
- [Bug target/65510] target-tic6x: unrecognizable insn with -O(1,2,3,s).
- From: gang.chen.5i5j at gmail dot com
- [Bug target/65510] target-tic6x: unrecognizable insn with -O(1,2,3,s).
- From: gang.chen.5i5j at gmail dot com
- [Bug target/65510] target-tic6x: unrecognizable insn with -O(1,2,3,s).
- From: gang.chen.5i5j at gmail dot com
- [Bug target/65510] target-tic6x: unrecognizable insn with -O(1,2,3,s).
- From: gang.chen.5i5j at gmail dot com
- [Bug target/65510] target-tic6x: unrecognizable insn with -O(1,2,3,s).
- From: gang.chen.5i5j at gmail dot com