id summary reporter owner description type status milestone component version severity resolution keywords cc 9791 [libs/program_options] winmain.cpp fails to compile with -O3, ok with -O0 (gcc-5666.3) class101 Vladimir Prus "Hello I have identified a problem when cross-compiling libs\program_options\src\winmain.cpp with Apple's gcc-5666.3 (4.2.1) and the -O3/2/1 switches, it works fine with -O0 {{{ ""X:/libs/gcc-5666.3-x86_64-apple-darwin10/bin/g++.exe"" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -m32 -w -m32 -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I""."" -c -o ""bin.v2\libs\program_options\build\gcc-4.2.1\release\abi-sysv\address-model-32\binary-format-mach-o\link-static\strip-on\target-os-darwin\threadapi-pthread\threading-multi\winmain.o"" ""libs\program_options\src\winmain.cpp"" }}} Unfortunately I don't have any more logs but I have uploaded the gcc-5666.3-x86_64-apple-darwin10.tar.xz on my googledrive if you want to give a shot by yourself https://drive.google.com/folderview?id=0B4dcRcayW88VNmRtZDEybEZoLTQ&usp=sharing " Bugs new To Be Determined program_options Boost Development Trunk Problem ad@…