------- Comment #5 from howarth at nitro dot med dot uc dot edu 2010-09-13 19:13 ------- I can confirm that the change...
Index: gcc/testsuite/g++.dg/torture/pr44972.C =================================================================== --- gcc/testsuite/g++.dg/torture/pr44972.C (revision 164251) +++ gcc/testsuite/g++.dg/torture/pr44972.C (working copy) @@ -74,7 +74,7 @@ T const& get() const ; - T const* operator->() const { ((this->is_initialized()) ? static_cast<void> (0) : __assert_fail ("this->is_initialized()", "pr44972.C", 78, __PRETTY_FUNCTION__)) ; return this->get_ptr_impl() ; } + T const* operator->() const { assert(this->is_initialized()) ; return this->get_ptr_impl() ; } } ; ...eliminates the g++.dg/torture/pr44972.C -O0 failures on x86_64-apple-darwin10 at both -m32 and -m64. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45645