]> gcc.gnu.org Git - gcc.git/commitdiff
tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and TYPE_SIZE_UNIT.
authorAndreas Schwab <schwab@suse.de>
Mon, 13 Sep 1999 07:41:20 +0000 (07:41 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Mon, 13 Sep 1999 07:41:20 +0000 (07:41 +0000)
* tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
TYPE_SIZE_UNIT.

From-SVN: r29369

gcc/ChangeLog
gcc/tree.c

index e681e609980a992765e8f47d7412d028dc893e85..aa757515dc62312335be3b63f408d137f7193996 100644 (file)
@@ -1,3 +1,8 @@
+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.
index ca471a92bc681478eb0c9cd671e1a3483dfd2faf..439f4cf98a5d5190d1b6e54b914edb1121da8847 100644 (file)
@@ -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.
This page took 0.395538 seconds and 5 git commands to generate.