From 4757f5c9c4f0c66df99ab7413e582cbe98627ac6 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 13 Sep 1999 07:41:20 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e681e609980..aa757515dc6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 13 09:38:53 1999 Andreas Schwab + + * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and + TYPE_SIZE_UNIT. + Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h. diff --git a/gcc/tree.c b/gcc/tree.c index ca471a92bc6..439f4cf98a5 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.