Internal error in size_binop
Lars Brinkhoff
lars.spam@nocrew.org
Sat Jan 13 01:54:00 GMT 2001
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> > - (TO).var = size_binop (MINUS_EXPR, ssize_int (0), dec); \
> > + (TO).var = size_binop (MINUS_EXPR, size_int (0), dec); \
> Kenner, it looks as if ssizetype doesn't have TYPE_IS_SIZETYPE set.
> It would seem the proper fix is to rectify this in set_sizetype, no?
> I think it is set there. Look at the loop.
>
> The problem here seems more likely to be a type mismatch. I have
> a vague recollection of running into this exact issue where some uses
> have the unsigned version. This needs more work in the debugger to see
> where the wrong version is coming from.
Quite possibly it has something to do with the restriction that mode
alignments have to be powers of two, in stor-layout.c:get_mode_alignment().
When I removed this restriction (patch recently sent to gcc-patches),
the internal compiler error went away.
--
http://lars.nocrew.org/
More information about the Gcc-patches
mailing list