Commit 8fa07a56 by Eric Botcazou Committed by Eric Botcazou

decl.c (components_to_record): Improve comment.

	* decl.c (components_to_record): Improve comment.

From-SVN: r131858
parent d79ca207
2008-01-26 Eric Botcazou <ebotcazou@adacore.com>
* decl.c (components_to_record): Improve comment.
2008-01-22 Eric Botcazou <ebotcazou@adacore.com>
* decl.c (components_to_record): Do not reuse the empty union type
......@@ -6066,8 +6066,9 @@ components_to_record (tree gnu_record_type, Node_Id component_list,
Set_Present_Expr (variant, annotate_value (gnu_qual));
/* If this is an Unchecked_Union and we have exactly one field,
use that field here. */
if (unchecked_union && TYPE_FIELDS (gnu_variant_type)
use this field directly to match the layout of C unions. */
if (unchecked_union
&& TYPE_FIELDS (gnu_variant_type)
&& !TREE_CHAIN (TYPE_FIELDS (gnu_variant_type)))
gnu_field = TYPE_FIELDS (gnu_variant_type);
else
......
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