this testcase segfaults: === Cut === class A { public: A()·{ x1 = 0; x2 = -1; } int· x()· · const { return x1; } void setX( int x ) { x1 = x; } int· width()· const { return x2 - x1 + 1; } void setWidth( int w ); private: int x1; int x2; }; A breakme() { A r; for( int i=0 ; i < 2; i++ ) { if (r.width() < r.x()) r.setX(4); if (5 > r.width()) r.setWidth(r.x()); } return r; } === Cut === g++ -O2 -c test.cpp test.cpp:17: internal compiler error: in create_component_ref_by_pieces, at tree-ssa-pre.c:2167
This is a dup of bug 26179 which was just fixed yesterday. *** This bug has been marked as a duplicate of 26179 ***