http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58244
--- Comment #8 from Martin Konôpka <martin.konopka at stuba dot sk> --- Yes, I understand now. Thanks. The lines with the sin() functions were not evaluated with the local declaration. My apologies for reporting the false bug. I will try to close the bug if I am allowed.