Your sizetype changes ...

Mark Mitchell mark@codesourcery.com
Wed Mar 1 12:22:00 GMT 2000


>>>>> "Richard" == Richard Kenner <kenner@vlsi1.ultra.nyu.edu> writes:

    Richard>     They are considered equivalent.  So, when we ask to
    Richard> convert an expression with type `unsigned int' to
    Richard> `size_t', we don't do anything -- we just leave the
    Richard> expression alone.  So, then, when we pass it to
    Richard> size_binop, it aborts.

    Richard> Ah, I see.  So the test case you sent me blows up?

Yes, naturally.

    Richard> We went through that: sizes are not *updated*, they are
    Richard> *set once*.

I'm not going to argue about this again.  All I'm clarifying is that I
didn't say anything about what we passed to size_binop, which is the
point at which you added assertions.  You implied that those
assertions were somehow inspired our discussion; I was saying that I
didn't see the connection.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc-patches mailing list