This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/35903] false warning when passing quoted string to function strcmp(arg,"no");
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2009 11:03:25 -0000
- Subject: [Bug middle-end/35903] false warning when passing quoted string to function strcmp(arg,"no");
- References: <bug-35903-12775@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from manu at gcc dot gnu dot org 2009-10-17 11:03 -------
(In reply to comment #3)
> This bug has no changed for months, I think it is still active.
Newer higher priority bugs often make us forget about old inactive bugs. Going
through old bugs and testing whether they still exist in a recent GCC would be
extremely helpful.
> It seems not to work only when size of char[] is 3 (2+'\0'). A test case is
> this:
Could you produce a preprocessed testcase? Is the printf needed? If not, please
take it and stdio.h out of the testcase to make it even simpler.
http://gcc.gnu.org/bugs/#need
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35903