This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26634] spurious strtok_r warning with -Wall
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2006 16:59:10 -0000
- Subject: [Bug middle-end/26634] spurious strtok_r warning with -Wall
- References: <bug-26634-153@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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