This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ss-990418 m68k: ICE `insn does not satisfy its constraints'


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);
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]