From e3861d2a1b0dc8389f5261b78adf4eb621b74251 Mon Sep 17 00:00:00 2001
From: Nathan Sidwell <nathan@codesourcery.com>
Date: Fri, 27 Aug 2004 16:48:31 +0000
Subject: [PATCH] stor-layout.c (sizetype_set): Remove.

	* stor-layout.c (sizetype_set): Remove.
	(set_sizetype): Don't test or set it.

From-SVN: r86668
---
 gcc/ChangeLog     | 3 +++
 gcc/stor-layout.c | 5 -----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5e5e15110923..5afcde684d64 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 3141e7d1af5b..30eec879f538 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -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 ();
 
-- 
GitLab