Created attachment 384617 [details] test case Compiling the attached program produces: g++ -Wall -c -g -O2 -Werror -fstack-protector-all foo2.cxxcc1plus: warnings being treated as errors /usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/bits/stl_algo.h: In member function ‘virtual void Foo::draw()’: /usr/lib/gcc/i686-redhat-linux/4.4.2/../../../../include/c++/4.4.2/bits/stl_algo.h:2178: error: array subscript is above array bounds This error doesn't occur on x86_64 or with -O. It's possibly related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40946 Tim Installed Packages boost.i686 1.39.0-8.fc12 @fedora boost-date-time.i686 1.39.0-8.fc12 @fedora boost-devel.i686 1.39.0-8.fc12 @fedora boost-filesystem.i686 1.39.0-8.fc12 @fedora boost-graph.i686 1.39.0-8.fc12 @fedora boost-iostreams.i686 1.39.0-8.fc12 @fedora boost-math.i686 1.39.0-8.fc12 @fedora boost-program-options.i686 1.39.0-8.fc12 @fedora boost-python.i686 1.39.0-8.fc12 @fedora boost-regex.i686 1.39.0-8.fc12 @fedora boost-serialization.i686 1.39.0-8.fc12 @fedora boost-signals.i686 1.39.0-8.fc12 @fedora boost-system.i686 1.39.0-8.fc12 @fedora boost-test.i686 1.39.0-8.fc12 @fedora boost-thread.i686 1.39.0-8.fc12 @fedora boost-wave.i686 1.39.0-8.fc12 @fedora gcc.i686 4.4.2-20.fc12 @updates gcc-c++.i686 4.4.2-20.fc12 @updates
Is that issue still persisting on Fedora 13 with Boost-1.41?
This is fixed in F13/F14/RHEL6, and as F12 I close to EOL I am going to triage this as WONTFIX.