https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105431

--- Comment #3 from rguenther at suse dot de <rguenther at suse dot de> ---
On Fri, 29 Apr 2022, jakub at gcc dot gnu.org wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105431
> 
> Jakub Jelinek <jakub at gcc dot gnu.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |jakub at gcc dot gnu.org
> 
> --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> While you touch it, shouldn't e.g.
>   /* Avoid largest negative number.  */
>   if (n != -n
> be fixed as well (don't we fold that as n != 0?)?

Yeah, that probably guarded against the other misuses of -n ... in
fact we should handle the most negative number fine now so I'm
going to just remove this check (n == 0 is also handled well).

Reply via email to