http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49938
Markus Trippelsdorf <markus at trippelsdorf dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org Component|middle-end |c++ --- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-08-02 03:34:30 UTC --- git bisect points to revision 176072: 3115bda06f241a032e3e5dca50556203a98767a0 is the first bad commit commit 3115bda06f241a032e3e5dca50556203a98767a0 Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sat Jul 9 03:33:54 2011 +0000 PR c++/45437 gcc/ * gimplify.c (goa_stabilize_expr): Handle RHS preevaluation in compound assignment. gcc/c-family/ * c-omp.c (check_omp_for_incr_expr): Handle preevaluation. gcc/cp/ * typeck.c (cp_build_modify_expr): Preevaluate RHS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176072 138bc75d-0d04-0410-961f-82ee72b054a4 Reverting the commit above "fixes" the problem.