[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure
wielemak at science dot uva dot nl
gcc-bugzilla@gcc.gnu.org
Fri Mar 3 14:38:00 GMT 2006
------- Comment #10 from wielemak at science dot uva dot nl 2006-03-03 14:37 -------
Frank,
Thanks a lot! It just comes from man gettid:
NAME
gettid - get thread identification
SYNOPSIS
#include <sys/types.h>
#include <linux/unistd.h>
#include <errno.h>
_syscall0(pid_t,gettid)
pid_t gettid(void);
This code passes configure and is thus included. Should I conclude glibc
is broken? Its not my machine, I'm just trying to fix a problem for a
SWI-Prolog user ... Anyway, if it doesn't reproduce on the latest Debian
I guess it is fixed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26511
More information about the Gcc-bugs
mailing list