[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 3 14:24:00 GMT 2006



------- Comment #9 from falk at debian dot org  2006-03-03 14:24 -------
The reason is:

pl-thread.c:78: warning: ignoring asm-specifier for non-static local variable
'_sc_0'
pl-thread.c:78: warning: ignoring asm-specifier for non-static local variable
'_sc_19'

This makes gcc not know that $19 gets clobbered by syscall. You need to add the
 register" keyword. I don't know exactly where your syscall macro is coming
from, but it's broken. I'd suggest you get a proper one from current glibc.


-- 

falk at debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list