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


> 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).


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