[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#430049: reduced testcase




The same error also occurs in etch environment,
"cross" compile on i386:

gcc -m64 -O0 -fschedule-insns -c t.c

***********************************
struct timespec
{
    long tv_sec;
    long tv_nsec;
};

int f(char ** a)
{
    int ga_testing = 0;

    if (!strcmp(a[1], "-ga"))
    {
        ga_testing = 1;
    }

    struct timespec stop;
    clock_gettime(0,&stop);

    if (ga_testing)
        printf("%f",3.0);
    return 0;
}

***********************************

Petr




Reply to: