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 PR32628, bogus overflow flag on sizetype consts


> 	* fold-const.c (fold_convert_const_int_from_int): Do not
> 	set overflow if that occured only because of a sign extension
> 	change when converting from/to a sizetype with the same
> 	precision and signedness.

I think that's safe, but I'd still like to understand the definition questions
I asked about in my last message.


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