OSDN Git Service

2007-07-12 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jul 2007 10:27:51 +0000 (10:27 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jul 2007 10:27:51 +0000 (10:27 +0000)
commit299888457f91c854ff9ce63d1cd004d7d7df1bc1
treeb01916e56bf1aadf986d4b4a11b1a17c5a1f24f0
parent235835a0f3a5216518cc45e50836b3a268f06238
2007-07-12  Richard Guenther  <rguenther@suse.de>

* gimplify.c (gimplify_conversion): Make sure that the result
from maybe_fold_offset_to_reference is trivially convertible
to the desired type before doing the simplification.
(gimplify_expr): Likewise.
* fold-const.c (fold_binary): Use the correct types for
building the simplified expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126577 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/gimplify.c