This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix optimization regression in constant folder
> I think it's required that it matches the size of pointers, in C
> speak that would be intptr_t, not size_t.
I'm not up-to-date on all the various types in the current C standard, but
sizetype must match the precision and signedness of the result of "sizeof",
which, I thought, was size_t. This is more important than it matching
the size of a pointer (it may well be that those are the same size too: I
just don't know).