[Bug middle-end/67338] fold-const sanitizer runtime error in roundup_loc

2017-03-21 Thread jakub at gcc dot gnu.org
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

[Bug middle-end/67338] fold-const sanitizer runtime error in roundup_loc

2017-03-21 Thread zeccav at gmail dot com
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

[Bug middle-end/67338] fold-const sanitizer runtime error in roundup_loc

2017-03-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67338 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/67338] fold-const sanitizer runtime error in roundup_loc

2017-03-21 Thread jakub at gcc dot gnu.org
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=gcc=rev Log: PR c/67338 * fold-const.c (round_up_loc): Negate divisor in

[Bug middle-end/67338] fold-const sanitizer runtime error in roundup_loc

2017-03-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67338 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/67338] fold-const sanitizer runtime error in roundup_loc

2017-03-19 Thread zeccav at gmail dot com
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