------- Comment #6 from pinskia at gcc dot gnu dot org 2007-08-05 19:37 ------- This is not the business of a compiler to detect all and every programming mismatch. It can detect some but not all. This is one which you need huge dataflow analysis and whole program to detect this problem.
This is not going to be inside GCC for a long time and even then it will not give good results. So closing as won't fix. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32984