fold-const.c (fold_unary): Convert (T1)(X op Y) into ((T1)X op (T1)Y)...
authorJan Hubicka <jh@suse.cz>
Fri, 4 May 2007 00:40:20 +0000 (02:40 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 4 May 2007 00:40:20 +0000 (00:40 +0000)
commitac5a28a64eb31508e1708a480583829edfe3e23d
tree548d8cee6ec9b8410cd45e6a00facf64a630ea5d
parent2c40556556009a2300ec1cfe252e4c1d6ea407e9
fold-const.c (fold_unary): Convert (T1)(X op Y) into ((T1)X op (T1)Y)...

* fold-const.c (fold_unary): Convert (T1)(X op Y) into ((T1)X op (T1)Y),
for pointer type in more cases than before.

* gimplify.c (gimplify_expr): Fold (void *)&a + 4.

* tree-object-size.c (plus_expr_object_size): When operand size is
unknown, return unknown.

From-SVN: r124403
gcc/ChangeLog
gcc/fold-const.c
gcc/gimplify.c
gcc/tree-object-size.c