Commit 42375e2e by Nathan Froyd Committed by Nathan Froyd

remove gfc_chainon_list

remove gfc_chainon_list
	* trans.h (gfc_chainon_list): Delete.
	* trans.c (gfc_chainon_list): Delete.

From-SVN: r173386
parent 7a994646
2011-05-04 Nathan Froyd <froydnj@codesourcery.com>
* trans.h (gfc_chainon_list): Delete.
* trans.c (gfc_chainon_list): Delete.
2011-05-04 Tobias Burnus <burnus@net-b.de> 2011-05-04 Tobias Burnus <burnus@net-b.de>
PR fortran/48864 PR fortran/48864
......
...@@ -63,19 +63,6 @@ gfc_advance_chain (tree t, int n) ...@@ -63,19 +63,6 @@ gfc_advance_chain (tree t, int n)
} }
/* Wrap a node in a TREE_LIST node and add it to the end of a list. */
tree
gfc_chainon_list (tree list, tree add)
{
tree l;
l = tree_cons (NULL_TREE, add, NULL_TREE);
return chainon (list, l);
}
/* Strip off a legitimate source ending from the input /* Strip off a legitimate source ending from the input
string NAME of length LEN. */ string NAME of length LEN. */
......
...@@ -319,9 +319,6 @@ void gfc_conv_string_parameter (gfc_se * se); ...@@ -319,9 +319,6 @@ void gfc_conv_string_parameter (gfc_se * se);
/* Compare two strings. */ /* Compare two strings. */
tree gfc_build_compare_string (tree, tree, tree, tree, int, enum tree_code); tree gfc_build_compare_string (tree, tree, tree, tree, int, enum tree_code);
/* Add an item to the end of TREE_LIST. */
tree gfc_chainon_list (tree, tree);
/* When using the gfc_conv_* make sure you understand what they do, i.e. /* When using the gfc_conv_* make sure you understand what they do, i.e.
when a POST chain may be created, and what the returned expression may be when a POST chain may be created, and what the returned expression may be
used for. Note that character strings have special handling. This used for. Note that character strings have special handling. This
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment