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/26634] spurious strtok_r warning with -Wall



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-10 16:59 -------
This is not a gcc bug as the warning is correct as the following is true, a can
be null entering f so p is used uninitialized.

If this is a bug, this is a bug in glibc for being over optimizing.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |middle-end
           Keywords|                            |diagnostic
         Resolution|                            |INVALID
            Summary|spurious strtok_r warning   |spurious strtok_r warning
                   |with -Wwrite-strings        |with -Wall


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26634


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