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: "cepeda at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2009 18:31:44 -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 #7 from cepeda at gmail dot com 2009-10-22 18:31 -------
Unfortunately and surprisely, printf is needed in this testcase. I think that a
different testcase without the printf can be found because the bigger code that
I used had not got the printf.
I have attatched the preproccessed testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35903