------- Comment #2 from aleaverfay at gmail dot com 2008-12-29 20:27 ------- Debug build works just fine. -O2 and -O3 both fail. Release build is fine with g++4 on linux.
$g++4 --version g++4 (GCC) 4.1.0 20060515 (Red Hat 4.1.0-18) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663