diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-19 03:51:24 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-19 03:51:24 +0000 |
commit | a42c3d85b8e9090abaeef1029ae9edcaa1e24cfd (patch) | |
tree | 28499d84f6b330bda990398378c78aa481b94883 /gcc/tree-sra.c | |
parent | a0147880f21db35ccccac321894d9eb9cedbb28f (diff) | |
download | gcc-a42c3d85b8e9090abaeef1029ae9edcaa1e24cfd.tar.gz |
* tree-sra.c (sra_build_assignment): Disable assertion checking
for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122121 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r-- | gcc/tree-sra.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index 1ecbb3994aa..a392589fc60 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -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); } |