This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix optimization regression in constant folder
> Yes, and that's arguably a bug. I don't see any reasons why the values
> in TYPE_SIZE should be of a type with these properties instead of being a
> simple internal unsigned integer type.
You lost me here. What are "these properties"? And you can't have it be
unsigned in cases when some of the values might be negative!
sizetypes have been around in GCC since day one and have been the way that
front ends communicate sizing information to the rest of the compiler.
It's been a key to how the layout routines work. If you're proposing some
massive change here, it's important that you have a clear idea of what's
happening currently.