tree.c (make_node, case 't'): Set alignment to that of char_type_node.

* tree.c (make_node, case 't'): Set alignment to that of
	char_type_node.
	* expr.c (move_by_pieces_ninsns): Abort if some length remains.

From-SVN: r37071
This commit is contained in:
Nathan Sidwell 2000-10-26 09:50:34 +00:00 committed by Nathan Sidwell
parent 95faa9a15e
commit 13c6f0d5b3
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2000-10-26 Nathan Sidwell <nathan@codesourcery.com>
* tree.c (make_node, case 't'): Set alignment to that of
char_type_node.
* expr.c (move_by_pieces_ninsns): Abort if some length remains.
2000-10-25 Mark Mitchell <mark@codesourcery.com>
* Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.

View File

@ -1536,6 +1536,8 @@ move_by_pieces_ninsns (l, align)
max_size = GET_MODE_SIZE (mode);
}
if (l)
abort ();
return n_insns;
}

View File

@ -438,7 +438,7 @@ make_node (code)
case 't':
TYPE_UID (t) = next_type_uid++;
TYPE_ALIGN (t) = 1;
TYPE_ALIGN (t) = char_type_node ? TYPE_ALIGN (char_type_node) : 0;
TYPE_USER_ALIGN (t) = 0;
TYPE_MAIN_VARIANT (t) = t;
TYPE_ATTRIBUTES (t) = NULL_TREE;