aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-26 23:41:34 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-02-26 23:41:34 +0000
commitc79249370ba344a75b68b5cb9de83559602ca210 (patch)
treef185ff4c43d539d8e8a183490fb65e6a6a9fa493
parentca0afc298b3d9925e06bf6b753ca6a6b4b6f21b5 (diff)
downloadgcc-c79249370ba344a75b68b5cb9de83559602ca210.zip
gcc-c79249370ba344a75b68b5cb9de83559602ca210.tar.gz
gcc-c79249370ba344a75b68b5cb9de83559602ca210.tar.bz2
stor-layout.c (is_pending_size): Remove.
* stor-layout.c (is_pending_size): Remove. * tree.h: Remove the corresponding prototype. From-SVN: r78532
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/stor-layout.c13
-rw-r--r--gcc/tree.h1
3 files changed, 5 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 676f781..aba02a7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
+ * stor-layout.c (is_pending_size): Remove.
+ * tree.h: Remove the corresponding prototype.
+
+2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
+
* recog.c (validate_replace_src): Remove.
* recog.h: Remove the corresponding prototype.
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index a79b3f9..031f348 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -104,19 +104,6 @@ get_pending_sizes (void)
return chain;
}
-/* Return nonzero if EXPR is present on the pending sizes list. */
-
-int
-is_pending_size (tree expr)
-{
- tree t;
-
- for (t = pending_sizes; t; t = TREE_CHAIN (t))
- if (TREE_VALUE (t) == expr)
- return 1;
- return 0;
-}
-
/* Add EXPR to the pending sizes list. */
void
diff --git a/gcc/tree.h b/gcc/tree.h
index 7846b54..08f14d5 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2471,7 +2471,6 @@ extern tree size_int_type_wide (HOST_WIDE_INT, tree);
extern tree round_up (tree, int);
extern tree round_down (tree, int);
extern tree get_pending_sizes (void);
-extern int is_pending_size (tree);
extern void put_pending_size (tree);
extern void put_pending_sizes (tree);