gimplify.c (gimplify_conversion): Make sure that the result from maybe_fold_offset_to...
authorRichard Guenther <rguenther@suse.de>
Thu, 12 Jul 2007 10:27:51 +0000 (10:27 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 Jul 2007 10:27:51 +0000 (10:27 +0000)
commit8f20c485050d550ccca1f4f4ed05ffd249c57c5f
treeb01916e56bf1aadf986d4b4a11b1a17c5a1f24f0
parent44f51d597ed4102d6da3bd4cf631c5031b21c975
gimplify.c (gimplify_conversion): Make sure that the result from maybe_fold_offset_to_reference is trivially...

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.

From-SVN: r126577
gcc/ChangeLog
gcc/fold-const.c
gcc/gimplify.c