[Bug c/25690] New: error: unrecognizable insn - failed to assign &a[1] if a is a struct
olaf at bonorden dot de
gcc-bugzilla@gcc.gnu.org
Fri Jan 6 09:54:00 GMT 2006
Source (test.c):
struct type {
char dummy;
} a[2];
void test( void ) {
struct type* b = &a[1];
}
compiler call:
mcore-gcc test.c -c
output:
test.c: In function 'test':
test.c:7: error: unrecognizable insn:
(insn 8 6 9 3 (set (reg:SI 25)
(const:SI (plus:SI (symbol_ref:SI ("a") <var_decl 0x4016f0b0 a>)
(const_int 1 [0x1])))) -1 (nil)
(nil))
test.c:7: internal compiler error: in extract_insn, at recog.c:2084
--
Summary: error: unrecognizable insn - failed to assign &a[1] if a
is a struct
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: olaf at bonorden dot de
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: mcore-be-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25690
More information about the Gcc-bugs
mailing list