On 2/9/07, Atsushi Nemoto <anemo@xxxxxxxxxxxxx> wrote:
On Fri, 9 Feb 2007 16:07:38 +0100, Franck Bui-Huu <vagabon.xyz@xxxxxxxxx> wrote: > new_ka.sa.sa_handler = (__sighandler_t) __gu_tmp; > > Here we try to cast an 'unsigned long long' into a 32 bits pointer and > that's the reason of the warning. This line is never executed on 32bit kernel and gcc optimize out. On
yes I agree but it seems that gcc compiles this line before optimizing out...
I think this is a problem of __get_user() implementation or gcc itself. Though I can not find better solution yet, hacking the caller to avoid the warning would not be right things to to.
I agree too but I haven't found something else. BTW, my version of gcc is: mipsel-linux-gcc (GCC) 3.4.4 mipssde-6.05.00-20061023 thanks -- Franck