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: Your sizetype changes ...


>>>>> "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

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