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
> Ehh? Above I'm explicitely showing why the transformation is _not_ fine,
> yet you read it as the opposite?
It *is* fine because we know that the overflow that would prevent the
transformation from being valid can't happen for valid programs. You
always need to go back to what sizetypes are supposed to represent to
decide whether a transformation is valid or not.