------- Comment #7 from h dot mth at web dot de 2008-10-31 10:43 ------- Created an attachment (id=16596) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16596&action=view) more reduced testcase
With one of these changes the ICE hides. [EMAIL PROTECTED]:/tmp $ cat hide01 --- b3dgeom.3.cpp.ice 2008-10-31 11:38:37.000000000 +0100 +++ b3dgeom.3.cpp 2008-10-31 11:38:46.000000000 +0100 @@ -1,7 +1,7 @@ #include <iostream> class B3DRange { double mnMinimum; - double mnMaximum; +// double mnMaximum; public: double getWidth() const { if(mnMinimum) [EMAIL PROTECTED]:/tmp $ cat hide02 --- b3dgeom.3.cpp.ice 2008-10-31 11:38:37.000000000 +0100 +++ b3dgeom.3.cpp 2008-10-31 11:39:02.000000000 +0100 @@ -4,7 +4,7 @@ double mnMaximum; public: double getWidth() const { - if(mnMinimum) + if(!mnMinimum) return mnMinimum; else return 0.0; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37969