[Bug c/91254] New: Wrong generate code with a series of array access

2019-07-24 Thread alebencz at gmail dot com
: c Assignee: unassigned at gcc dot gnu.org Reporter: alebencz at gmail dot com Target Milestone: --- Created attachment 46625 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46625&action=edit Source that generates the error The attached program serves to calcul

[Bug c/91254] Wrong generate code with a series of array access

2019-07-24 Thread alebencz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91254 --- Comment #2 from Alexandre Bencz --- same problem, with -fwrapv, the program still stucked... and, for a test, I tried to use the -fsanitize=undefined and the program still stucked...

[Bug c/91254] Wrong generate code with a series of array access

2019-07-24 Thread alebencz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91254 --- Comment #4 from Alexandre Bencz --- It's true ... I did not realize this ... well, for testing purposes made a test using malloc to allocate the array and zeroed all bytes using the memset, with the correct size and the error persists. I also