revert: stor-layout.c (finish_builtin_struct): Copy fields into the variants.

Revert:
	* stor-layout.c (finish_builtin_struct): Copy fields into the variants.

From-SVN: r212397
This commit is contained in:
Jan Hubicka 2014-07-09 18:11:53 +02:00 committed by Jan Hubicka
parent ef68f4ab65
commit 1469344a8b
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2014-07-08 Jan Hubicka <hubicka@ucw.cz>
Revert:
* stor-layout.c (finish_builtin_struct): Copy fields into the variants.
2014-07-08 Jan Hubicka <hubicka@ucw.cz>
* ipa-visibility.c (function_and_variable_visibility): Remove

View File

@ -2070,7 +2070,7 @@ void
finish_builtin_struct (tree type, const char *name, tree fields,
tree align_type)
{
tree tail, next, variant;
tree tail, next;
for (tail = NULL_TREE; fields; tail = fields, fields = next)
{
@ -2079,10 +2079,6 @@ finish_builtin_struct (tree type, const char *name, tree fields,
DECL_CHAIN (fields) = tail;
}
TYPE_FIELDS (type) = tail;
for (variant = TYPE_MAIN_VARIANT (type);
variant != 0;
variant = TYPE_NEXT_VARIANT (variant))
TYPE_FIELDS (variant) = tail;
if (align_type)
{