[Bug c++/21528] Boost shared_ptr_test.cpp fails with -O3

2005-05-12 Thread redi at gcc dot gnu dot org
--- Additional Comments From redi at gcc dot gnu dot org 2005-05-12 12:22 --- Also, I *do* still see the failure if I replace BOOST_TEST() with assert(). This still fails with -finline-functions -finline-limit=80 #include #include int main() { boost::shared_ptr pi(new int);

[Bug c++/21528] Boost shared_ptr_test.cpp fails with -O3

2005-05-12 Thread redi at gcc dot gnu dot org
--- Additional Comments From redi at gcc dot gnu dot org 2005-05-12 11:56 --- Using 4.0.1 20050509 on x86-64 Linux -O2 -finline-functions -finline-limit=79 is OK -O2 -finline-functions -finline-limit=80 is not -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21528

[Bug c++/21528] Boost shared_ptr_test.cpp fails with -O3

2005-05-12 Thread redi at gcc dot gnu dot org
--- Additional Comments From redi at gcc dot gnu dot org 2005-05-12 09:36 --- -O2 -finline-functions shows the errors, -O3 -fno-inline-functions does not. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21528

[Bug c++/21528] Boost shared_ptr_test.cpp fails with -O3

2005-05-12 Thread redi at gcc dot gnu dot org
--- Additional Comments From redi at gcc dot gnu dot org 2005-05-12 09:12 --- I can confirm this error for 4.0 on x86 and x86-64 but not with 4.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21528

[Bug c++/21528] Boost shared_ptr_test.cpp fails with -O3

2005-05-12 Thread redi at gcc dot gnu dot org
-- What|Removed |Added CC||redi at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21528

[Bug c++/21528] Boost shared_ptr_test.cpp fails with -O3

2005-05-12 Thread pdimov at gmail dot com
--- Additional Comments From pdimov at gmail dot com 2005-05-12 08:42 --- Created an attachment (id=8871) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8871&action=view) Preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21528