This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Your sizetype changes ...
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Subject: Re: Your sizetype changes ...
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Wed, 01 Mar 2000 12:29:57 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <10003011756.AA22409@vlsi1.ultra.nyu.edu>
>>>>> "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