aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-09-13 07:41:20 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>1999-09-13 07:41:20 +0000
commit4757f5c9c4f0c66df99ab7413e582cbe98627ac6 (patch)
tree4cdabb771ff8b995e939342217bc549e4c76864e /gcc/tree.c
parent4c3d3ad8451b2f1cf85d2555f03400dd52a967ea (diff)
downloadgcc-4757f5c9c4f0c66df99ab7413e582cbe98627ac6.zip
gcc-4757f5c9c4f0c66df99ab7413e582cbe98627ac6.tar.gz
gcc-4757f5c9c4f0c66df99ab7413e582cbe98627ac6.tar.bz2
tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and TYPE_SIZE_UNIT.
* tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and TYPE_SIZE_UNIT. From-SVN: r29369
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index ca471a9..439f4cf 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -5167,8 +5167,8 @@ static void
fix_sizetype (type)
tree type;
{
- TREE_TYPE (TYPE_SIZE (type)) = sizetype;
- TREE_TYPE (TYPE_SIZE_UNIT (type)) = bitsizetype;
+ TREE_TYPE (TYPE_SIZE (type)) = bitsizetype;
+ TREE_TYPE (TYPE_SIZE_UNIT (type)) = sizetype;
}
/* Call this function after calling build_common_tree_nodes and set_sizetype.