https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67338
--- Comment #6 from Jakub Jelinek ---
(In reply to Vittorio Zecca from comment #5)
> I still have a similar issue in 7.0.1
>
> ../../gcc-7-246252/gcc/fold-const.c:14253:11: runtime error: negation of
> -2147483648 cannot be represented in type '
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67338
--- Comment #5 from Vittorio Zecca ---
I still have a similar issue in 7.0.1
../../gcc-7-246252/gcc/fold-const.c:14253:11: runtime error: negation of
-2147483648 cannot be represented in type 'int'; cast to an unsigned type to
negate this value
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67338
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67338
--- Comment #3 from Jakub Jelinek ---
Author: jakub
Date: Tue Mar 21 08:10:30 2017
New Revision: 246305
URL: https://gcc.gnu.org/viewcvs?rev=246305&root=gcc&view=rev
Log:
PR c/67338
* fold-const.c (round_up_loc): Negate divisor i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67338
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67338
--- Comment #1 from Vittorio Zecca ---
Still in 7.0.1
../../gcc-7-246252/gcc/fold-const.c:14253:11: runtime error: negation of
-2147483648 cannot be represented in type 'int'; cast to an unsigned type to
negate this value to itself