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