diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-26 09:50:34 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-26 09:50:34 +0000 |
commit | f9b868112d552e81c0edef4a50c5f13bae4dce48 (patch) | |
tree | 106754ce3485da2d53812a3bdf883f2aa462ffaa /gcc/tree.c | |
parent | 4bc4c180645ad9499e0c822bb1e4152f628d6fb6 (diff) | |
download | gcc-f9b868112d552e81c0edef4a50c5f13bae4dce48.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37071 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index 4bebf20d55c..96407a2a1a2 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -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; |