summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree-sra.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d1ed37a8953..cb700d38575 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-23 Martin Jambor <mjambor@suse.cz>
+
+ * tree-sra.c (build_accesses_from_assign): Remove FIXME comment.
+
2012-03-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52678
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index 65267a92f83..6cf6c15d4a4 100644
--- a/gcc/tree-sra.c
+++ b/gcc/tree-sra.c
@@ -1175,8 +1175,6 @@ build_accesses_from_assign (gimple stmt)
&& !lacc->grp_unscalarizable_region
&& !racc->grp_unscalarizable_region
&& AGGREGATE_TYPE_P (TREE_TYPE (lhs))
- /* FIXME: Turn the following line into an assert after PR 40058 is
- fixed. */
&& lacc->size == racc->size
&& useless_type_conversion_p (lacc->type, racc->type))
{