2004-07-03 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * tree-sra.c (generate_element_init): Remove any useless conversions.
* gimplify.c (gimplify_conversion): Remove stripping useless
conversions from here.
static void
generate_element_init (struct sra_elt *elt, tree init, tree *list_p)
{
- enum tree_code init_code = TREE_CODE (init);
+ enum tree_code init_code;
struct sra_elt *sub;
tree t;
+ STRIP_USELESS_TYPE_CONVERSION (init);
+ init_code = TREE_CODE (init);
+
if (elt->is_scalar)
{
if (elt->replacement)