This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/7776] const char* p = "foo"; if (p == "foo") ... is compiled without warning!
- From: "roger at eyesopen dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Dec 2005 15:39:40 -0000
- Subject: [Bug c/7776] const char* p = "foo"; if (p == "foo") ... is compiled without warning!
- References: <bug-7776-1472@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from roger at eyesopen dot com 2005-12-06 15:39 -------
Fixed for gcc v4.2
--
roger at eyesopen dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7776