http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50624
--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 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 the usual trade-off between warnings for dead code or not.