Hi all,

By discussing with a Wine user on #nvidia, we found out that when
compiling 'scheduler/sysdeps.c' with gcc 2.95.2 and -O6, the function
'SYSDEPS_DoCallOnStack' is undefined (nm sysdeps.o | grep
DoCallOnStack gives 'U SYSDEPS_DoCallOnStack').

After some discussions with Ove, he thought that it was because gcc
was inlining this function.

So is this a bug in gcc because it inlines a function that is called
in an 'asm' section or a 'feature' that we could fix by adding an
attribute / #pragma on this function that prevents gcc to inline it ?

As neither Ove nor me knew of any attributes in GCC doing this, we
decided to send this here :-)

-- 
               Lionel Ulmer   -   [EMAIL PROTECTED]
    My Advogato Wine diary : http://www.advogato.org/person/bbrox/

Reply via email to