Between revisions 182828 and 182830 the following tests started to fail with -m32 (see http://gcc.gnu.org/ml/gcc-regression/2012-01/msg00048.html ): FAIL: 25_algorithms/heap/moveable.cc execution test FAIL: 25_algorithms/heap/moveable2.cc execution test The failures are Assertion failed: (this->SharedInfo && this->ptr < this->SharedInfo->last), function operator*, file /opt/gcc/work/libstdc++-v3/testsuite/util/testsuite_iterators.h, line 287. FAIL: 25_algorithms/heap/moveable.cc execution test
Confirmed, caused by the PR51730 fix.
Author: rguenth Date: Wed Jan 4 13:25:28 2012 New Revision: 182872 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182872 Log: 2012-01-04 Richard Guenther <rguenther@suse.de> PR middle-end/51750 * tree.c (size_low_cst): New function. * tree.h (size_low_cst): Declare. * fold-const.c (fold_comparison): Use it to extract the low part of the POINTER_PLUS_EXPR offset. Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/tree.c trunk/gcc/tree.h
Fixed.