+2011-05-04 Eric Botcazou <ebotcazou@adacore.com>
+
+ * stor-layout.c (variable_size): Do not issue errors.
+
2011-05-04 Richard Guenther <rguenther@suse.de>
* coverage.c (tree_coverage_counter_ref): Use integer_type_node
that determine sizes for variable size objects. Trust it. */
return size;
- if (lang_hooks.decls.global_bindings_p ())
- {
- if (TREE_CONSTANT (size))
- error ("type size can%'t be explicitly evaluated");
- else
- error ("variable-size type declared outside of any function");
-
- return size_one_node;
- }
-
put_pending_size (save);
return size;