ss-990418 m68k: ICE `insn does not satisfy its constraints'
Marc Espie
espie@tetto.liafa.jussieu.fr
Fri Apr 23 10:39:00 GMT 1999
cc -v -O2 simple.i
Reading specs from /usr/lib/gcc-lib/m68k-unknown-openbsd2.5/egcs-2.93.18/specs
gcc version egcs-2.93.18 19990412 (gcc2 ss-980929 experimental)
/usr/lib/gcc-lib/m68k-unknown-openbsd2.5/egcs-2.93.18/cc1 simple.i -quiet -O2 -version -o /var/tmp/cch31762.s
GNU C version egcs-2.93.18 19990412 (gcc2 ss-980929 experimental) (m68k-unknown-openbsd2.5) compiled by GNU C version egcs-2.93.18 19990412 (gcc2 ss-980929 experimental).
simple.i: In function `encode_varray':
simple.i:18: internal error--insn does not satisfy its constraints:
(insn 14 12 16 (set (reg:SI 8 a0)
(plus:SI (reg:SI 0 d0)
(const_int -272 [0xfffffef0]))) 126 {*addsi3_internal} (nil)
(nil))
----- simple.i
struct Type {
int type;
unsigned size;
struct Type *indextype;
};
static void encode_type (char *name, struct Type *type,
int encodetype);
static void
encode_varray (char *name, struct Type *type, int encodetype)
{
char tmp[256];
struct Type lentype = {1};
encode_type (tmp, type->indextype ? type->indextype : &lentype,
encodetype);
}
More information about the Gcc-bugs
mailing list