This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38575] free() accept argument that has the same name with standard/builtin function
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 01 Feb 2012 22:25:49 +0000
- Subject: [Bug middle-end/38575] free() accept argument that has the same name with standard/builtin function
- Auto-submitted: auto-generated
- References: <bug-38575-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38575
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.6.0
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-01 22:25:49 UTC ---
t7.c:4:13: warning: attempt to free a non-heap object [-Wfree-nonheap-object]
Fixed in 4.6.0 and above.