TYPE_SIZE_UNIT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29369
138bc75d-0d04-0410-961f-
82ee72b054a4
+Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
+
+ * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
+ TYPE_SIZE_UNIT.
+
Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
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.