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

Bug#594062: gcc-4.5: -flto and #pragma GCC optimize are incompatible



Package: gcc-4.5
Version: 4.5.1-2
Severity: normal

$ cat a.c
#pragma GCC optimize("-O3")

int main(void)
{
    return 0;
}

$ gcc-4.5 -o /dev/null -c -O2 -flto a.c
a.c:6:1: sorry, unimplemented: gimple bytecode streams do not support the optimization attribute



Reply to: