This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/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 Jun 2005 15:06:38 -0000
- Subject: [Bug middle-end/7776] const char* p = "foo"; if (p == "foo") ... is compiled without warning!
- References: <20020830090600.7776.udbz@rz.uni-karlsruhe.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From roger at eyesopen dot com 2005-06-06 15:06 -------
C front-end patch here: http://gcc.gnu.org/ml/gcc-patches/2005-06/msg00369.html
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7776