Commit eb441084 by Alexandre Oliva Committed by Alexandre Oliva

tree-sra.c (sra_build_assignment): Disable assertion checking for now.

* tree-sra.c (sra_build_assignment): Disable assertion checking
for now.

From-SVN: r122121
parent b56b9fe3
2007-02-19 Alexandre Oliva <aoliva@redhat.com>
* tree-sra.c (sra_build_assignment): Disable assertion checking
for now.
2007-02-18 Roger Sayle <roger@eyesopen.com>
* function.c (gimplify_parameters): Call build_gimple_modify_stmt
......
......@@ -1726,11 +1726,17 @@ generate_element_ref (struct sra_elt *elt)
return elt->element;
}
/* Create an assignment statement from SRC to DST. */
static tree
sra_build_assignment (tree dst, tree src)
{
#if 0 /* ENABLE_CHECKING */
/* This test ought to pass, but it is unfortunately too strict for
now. */
gcc_assert (TYPE_CANONICAL (TYPE_MAIN_VARIANT (TREE_TYPE (dst)))
== TYPE_CANONICAL (TYPE_MAIN_VARIANT (TREE_TYPE (src))));
#endif
return build2 (GIMPLE_MODIFY_STMT, void_type_node, dst, src);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment