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]
Other format: [Raw text]

Re: [PATCH] Fix optimization regression in constant folder


On 10/11/07, Richard Kenner <kenner@vlsi1.ultra.nyu.edu> wrote:
> > It's true that this is a different type from size_t, the user-visible
> > type.  The latter is just a typedef for some unsigned integral type, and
> > might be wider than sizetype, and might not have other special
> > properties of sizetype, whatever those might be.
>
> No, I think it's required that it's the same size, and possibly signedness,
> as size_t, but they are very definitely different types, with different
> properties.

I think it's required that it matches the size of pointers, in C speak
that would
be intptr_t, not size_t.

Richard.


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