OSDN Git Service

* stor-layout.c (sizetype_set): Remove.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Aug 2004 16:48:31 +0000 (16:48 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Aug 2004 16:48:31 +0000 (16:48 +0000)
(set_sizetype): Don't test or set it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86668 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/stor-layout.c

index 5e5e151..5afcde6 100644 (file)
@@ -1,5 +1,8 @@
 2004-08-27  Nathan Sidwell  <nathan@codesourcery.com>
 
+       * stor-layout.c (sizetype_set): Remove.
+       (set_sizetype): Don't test or set it.
+
        * tree.h (size_int_type): Remove.
        * fold-const.c: Do not #include gt-fold-const.h.
        (size_htab_hash, size_htab_eq): Remove.
index 3141e7d..30eec87 100644 (file)
@@ -37,9 +37,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include "regs.h"
 #include "params.h"
 
-/* Set to one when set_sizetype has been called.  */
-static int sizetype_set;
-
 /* Data type for the expressions representing sizes of data types.
    It is the first integer type laid out.  */
 tree sizetype_tab[(int) TYPE_KIND_LAST];
@@ -1887,8 +1884,6 @@ set_sizetype (tree type)
                       2 * HOST_BITS_PER_WIDE_INT);
   tree t;
 
-  if (sizetype_set)
-    abort ();
   if (TYPE_UNSIGNED (type) != TYPE_UNSIGNED (sizetype))
     abort ();