From: Kazu Hirata Date: Thu, 26 Feb 2004 23:41:34 +0000 (+0000) Subject: stor-layout.c (is_pending_size): Remove. X-Git-Tag: releases/gcc-4.0.0~9814 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c79249370ba344a75b68b5cb9de83559602ca210;p=thirdparty%2Fgcc.git stor-layout.c (is_pending_size): Remove. * stor-layout.c (is_pending_size): Remove. * tree.h: Remove the corresponding prototype. From-SVN: r78532 --- 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);