Commit 13c6f0d5 by Nathan Sidwell Committed by Nathan Sidwell

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
parent 95faa9a1
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> 2000-10-25 Mark Mitchell <mark@codesourcery.com>
* Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3. * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
......
...@@ -1536,6 +1536,8 @@ move_by_pieces_ninsns (l, align) ...@@ -1536,6 +1536,8 @@ move_by_pieces_ninsns (l, align)
max_size = GET_MODE_SIZE (mode); max_size = GET_MODE_SIZE (mode);
} }
if (l)
abort ();
return n_insns; return n_insns;
} }
......
...@@ -438,7 +438,7 @@ make_node (code) ...@@ -438,7 +438,7 @@ make_node (code)
case 't': case 't':
TYPE_UID (t) = next_type_uid++; 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_USER_ALIGN (t) = 0;
TYPE_MAIN_VARIANT (t) = t; TYPE_MAIN_VARIANT (t) = t;
TYPE_ATTRIBUTES (t) = NULL_TREE; TYPE_ATTRIBUTES (t) = NULL_TREE;
......
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