OSDN Git Service

2008-11-19 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Nov 2008 17:38:15 +0000 (17:38 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Nov 2008 17:38:15 +0000 (17:38 +0000)
commit5c485e88d60cd5ef69d53b4c82b185a3a09a91b2
treeff9eb564008c7a7510b130d8f124d17e3259003c
parent93aa09170cc6442c0cb70f1c8d09b9e2ca31b194
2008-11-19  Richard Guenther  <rguenther@suse.de>

* tree.c (build2_stat): Allow non-POINTER_PLUS_EXPRs with
non-sizetype offsets if their precision matches that of
the pointer.
* expr.c (expand_expr_real_1): Always sign-extend the offset
operand of a POINTER_PLUS_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142009 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/tree.c