2009-03-05 Richard Guenther <rguenther@suse.de>
* c-common.c (pointer_int_sum): Use *NV_EXPR codes for
pointer arithmetic.
* c-typeck.c (build_unary_op): Use NEGATENV_EXPR if
signed arithmetic has undefined overflow.
(build_binary_op): Handle *NV_EXPR for recursive invocations.
If signed arithmetic has undefined overflow use
PLUSNV_EXPR, MINUSNV_EXPR and MULTNV_EXPR.
* c-omp.c (c_finish_omp_for): Deal with *NV_EXPR for increments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/no-undefined-overflow@144648 138bc75d-0d04-0410-961f-82ee72b054a4