[Bug c++/35140] wrong result due to -O2 optimization in combination with std::list

2008-02-20 Thread basti at fkp dot tu-darmstadt dot de
--- Comment #6 from basti at fkp dot tu-darmstadt dot de 2008-02-20 14:42 --- The bug is not encountered when using the list<> container from the stlport-library instead of the one coming with the compiler. I tried the versions 4.6, 5.0, and 5.1 (debian-etch packages libstlp

[Bug c++/35140] wrong result due to -O2 optimization in combination with std::list

2008-02-08 Thread basti at fkp dot tu-darmstadt dot de
--- Comment #3 from basti at fkp dot tu-darmstadt dot de 2008-02-08 16:32 --- One can even omit the helper class sample and directly use a list, bug is still there!!! the above mentioned work-around with -fno-strict-aliasing works, but still... makes my kinda nervous about all my

[Bug c++/35140] wrong result due to -O2 optimization in combination with std::list

2008-02-08 Thread basti at fkp dot tu-darmstadt dot de
--- Comment #1 from basti at fkp dot tu-darmstadt dot de 2008-02-08 15:28 --- replacing all doubles types with size_t or int does change nothing. the bug still exists. -- basti at fkp dot tu-darmstadt dot de changed: What|Removed |Added

[Bug c++/35140] New: floating point error in combination with std::list with -O2 optimization turned on

2008-02-08 Thread basti at fkp dot tu-darmstadt dot de
Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: basti at fkp dot tu-darmstadt dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35140