* c-common.c (pointer_int_sum): Fold the MULT_EXPR.
authorJason Merrill <jason@redhat.com>
Wed, 28 Oct 2015 18:54:48 +0000 (14:54 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 28 Oct 2015 18:54:48 +0000 (14:54 -0400)
commitd90ec4f2bc82f513821be7054b1eeb5c200e81af
tree635b63931eff5f7c9588deaa1ee992fb3b36ee91
parenta6392fdc0b4210929c40be82e93184a20dba2766
* c-common.c (pointer_int_sum): Fold the MULT_EXPR.

From-SVN: r229500
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/gcc.dg/pointer-arith-10.c