diff options
author | Steve Ellcey <sje@cup.hp.com> | 2009-03-30 16:43:40 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2009-03-30 16:43:40 +0000 |
commit | f4d9f129fe9884da7b5f92f919a22157f729c577 (patch) | |
tree | 7886158a4e7de339c1bddbf1475cbceec18b4327 /gcc/tree.h | |
parent | be21df036cb6a1d91d0016e6f66889b5ff5e9a5d (diff) | |
download | gcc-f4d9f129fe9884da7b5f92f919a22157f729c577.zip gcc-f4d9f129fe9884da7b5f92f919a22157f729c577.tar.gz gcc-f4d9f129fe9884da7b5f92f919a22157f729c577.tar.bz2 |
re PR middle-end/38237 (multiple weak directives)
PR middle-end/38237
* tree.h (tree_find_value): New declaration.
* tree.c (tree_find_value): New function.
* varasm.c (assemble_external): Avoid duplicate entries on lists.
From-SVN: r145303
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4384,6 +4384,10 @@ extern tree tree_cons_stat (tree, tree, tree MEM_STAT_DECL); extern tree tree_last (tree); +/* Return the node in a chain whose TREE_VALUE is x, NULL if not found. */ + +extern tree tree_find_value (tree, tree); + /* Reverse the order of elements in a chain, and return the new head. */ extern tree nreverse (tree); |