This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Internal error in size_binop
- To: rth at redhat dot com
- Subject: Re: Internal error in size_binop
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Thu, 11 Jan 01 23:04:26 EST
- Cc: gcc-patches at gcc dot gnu dot org, lars at nocrew dot org
> - (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.