This is the mail archive of the gcc-patches@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]

Re: Internal error in size_binop


    > -    (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.

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