From c79249370ba344a75b68b5cb9de83559602ca210 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 26 Feb 2004 23:41:34 +0000 Subject: [PATCH] stor-layout.c (is_pending_size): Remove. * stor-layout.c (is_pending_size): Remove. * tree.h: Remove the corresponding prototype. From-SVN: r78532 --- gcc/ChangeLog | 5 +++++ gcc/stor-layout.c | 13 ------------- gcc/tree.h | 1 - 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 676f78158509..aba02a706cd8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-26 Kazu Hirata + + * stor-layout.c (is_pending_size): Remove. + * tree.h: Remove the corresponding prototype. + 2004-02-26 Kazu Hirata * recog.c (validate_replace_src): Remove. diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index a79b3f906747..031f34856bd4 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 7846b545c215..08f14d5da922 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); -- 2.47.2