gimplify.c (gimplify_conversion): Remove stripping useless conversions from here.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Sat, 3 Jul 2004 13:51:51 +0000 (13:51 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 3 Jul 2004 13:51:51 +0000 (09:51 -0400)
commit73d6ddef27060df6ab39a61aa659a28d88b73f36
tree13502e09753764f145c7cb2614cac2d59631abee
parent580d124fe0265e81154d5fe07a40279418f048f8
gimplify.c (gimplify_conversion): Remove stripping useless conversions from here.

* gimplify.c (gimplify_conversion): Remove stripping useless
conversions from here.
(gimplify_expr): Put it here, in place of call to STRIP_MAIN_TYPE_NOPS.
(gimplify_modify_expr_to_memcpy, gimplify_variable_sized_compare):
Unshare before substituting PLACEHOLDER_EXPR.
(gimplify_modify_expr_to_memset): Likewise.
Pass address of TO to memset, not TO itself.
(gimplify_init_constructor): Make copy of OBJECT so we have it each
time we make an expression (to match a PLACEHOLDER_EXPR).

From-SVN: r84056
gcc/ChangeLog
gcc/gimplify.c