------- Comment #1 from siarhei dot siamashka at gmail dot com 2010-04-27 22:44 ------- "#pragma GCC <target|optimize>" just does not seem to work with C++. Just stumbled on it trying to narrow down something that looks like wrong-code generation bug in gcc 4.5.0 when compiling qt4.
Prepending "__attribute__((optimize("-O0")))" to each function still works, so no real need to go through the trouble of splitting source files into parts to bisect the issue. -- siarhei dot siamashka at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |siarhei dot siamashka at | |gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41201