------- Comment #5 from rguenth at gcc dot gnu dot org 2008-03-19 10:26 ------- To quote the standard (6.5.4.1/2):
"The expression ++E is equivalent to (E+=1). See the discussions of additive operators and compound assignment for information on constraints, types, side effects, and CONVERSIONS and the effects of operations on pointers" emphasise mine, 6.5.6/4 then of course says "If both operands have arithmetic type, the usual arithmetic conversions are performed on them." -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35634