c-common.c (pointer_int_sum): Do the negation in sizetype.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 29 Jun 2007 06:11:17 +0000 (06:11 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 29 Jun 2007 06:11:17 +0000 (06:11 +0000)
commit280f1ffa2782edfc55fa6e0f8c6071b85b94b7cf
tree5976c29f228db9cd8c5b348833f6a8f115e967e0
parente444a887ab80c9232354b3070da96a139ea403c8
c-common.c (pointer_int_sum): Do the negation in sizetype.

* c-common.c (pointer_int_sum): Do the negation in sizetype.

From-SVN: r126108
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pointer-arith-9.c [new file with mode: 0644]