http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48483
--- Comment #6 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-04-07 01:38:53 UTC --- > there's a limit to how much silliness the compiler can catch, > at some point you have to just not write silly code ;) Yes, these reduced fragments look embarrassing. Of course, compiler is not a tool for static checking. So, it's simply a small enhancement request, rather then a complain about bugs in GCC. GCC devs should concentrate efforts on real bugs. Still, it would be good if somebody will fix this thing.