http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53198
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.8.0 Known to fail|4.7.0, 4.8.0 |4.7.2 --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-18 15:16:16 UTC --- (In reply to comment #4) > (In reply to comment #3) > > Created attachment 27801 [details] > > another testcase - from xorg mouse driver > > This warns with GCC 4.8 r192379: > > pr53198.c: In function ‘CheckProtocol’: > pr53198.c:35:30: warning: array subscript is above array bounds > [-Warray-bounds] > for (i = 0; internalNames[i]; i++) > ^ > > It doesn't warn with gcc 4.5.1 Doesn't warn any longer on trunk.