[Bug c/50624] detecting array overflows regressed

2011-10-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50624 --- Comment #6 from Richard Guenther 2011-10-06 15:10:45 UTC --- (In reply to comment #5) > Easy case = constant expressions as index? > > Would the frontend be able to handle > > short array[1]; > > i = 1; > array[i] Probably not. It's also

[Bug c/50624] detecting array overflows regressed

2011-10-06 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50624 --- Comment #5 from Andi Kleen 2011-10-06 14:49:19 UTC --- Easy case = constant expressions as index? Would the frontend be able to handle short array[1]; i = 1; array[i]

[Bug c/50624] detecting array overflows regressed

2011-10-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50624 Richard Guenther changed: What|Removed |Added Keywords||diagnostic --- Comment #4 from Richard

[Bug c/50624] detecting array overflows regressed

2011-10-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50624 --- Comment #3 from Jakub Jelinek 2011-10-05 19:22:38 UTC --- If I remember well this warning isn't very well designed and has many false positives on the other side.

[Bug c/50624] detecting array overflows regressed

2011-10-05 Thread andi-gcc at firstfloor dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50624 --- Comment #2 from Andi Kleen 2011-10-05 18:56:24 UTC --- Thanks. It's not a pure regression. Even 4.5 misses some easy cases: especially the local stack array case, which should be in theory really easy.

[Bug c/50624] detecting array overflows regressed

2011-10-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50624 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|