aboutsummaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-09-25 17:50:02 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-09-25 17:50:02 -0400
commit1fd7c4ac661b59b7c360374e81f5b02e568690e9 (patch)
treec473522da5f3e1cb86d253836a03919ab784edef /gcc/stor-layout.c
parent5480a90cce261c757f93682f16d312781705263a (diff)
downloadgcc-1fd7c4ac661b59b7c360374e81f5b02e568690e9.zip
gcc-1fd7c4ac661b59b7c360374e81f5b02e568690e9.tar.gz
gcc-1fd7c4ac661b59b7c360374e81f5b02e568690e9.tar.bz2
(put_pending_sizes): New function.
From-SVN: r10398
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 1088e095..3156c58 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -81,6 +81,16 @@ get_pending_sizes ()
return chain;
}
+void
+put_pending_sizes (chain)
+ tree chain;
+{
+ if (pending_sizes)
+ abort ();
+
+ pending_sizes = chain;
+}
+
/* Given a size SIZE that may not be a constant, return a SAVE_EXPR
to serve as the actual size-expression for a type or decl. */