This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32984] add checking for array new & delete
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2007 19:37:13 -0000
- Subject: [Bug c++/32984] add checking for array new & delete
- References: <bug-32984-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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