This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure
- From: "wielemak at science dot uva dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2006 14:37:58 -0000
- Subject: [Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure
- References: <bug-26511-12290@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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