This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/35903] false warning when passing quoted string to function strcmp(arg,"no");



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]