------- Additional Comments From bonzini at gnu dot org  2004-06-15 15:26 -------
Graham is right.  This is a problem in user code, unless this fails as well...

int variadic_test (int, unsigned long, unsigned long);

int main (void)
{
    int result_varfunc;
    int result_local;

    result_local   =  1 + 2 + 3;
    result_varfunc =  variadic_test(1, 2, 3);

    if (result_local != result_varfunc) {
        //printf("error");
        return 0;
    } else
        return 1;
}

Paolo

-- 


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

Reply via email to