summaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-25 03:58:15 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-25 03:58:15 +0000
commiteec9c06d24dabd621190ce6659da7c73512af1e3 (patch)
tree10de1a929aea6ab2bd2733ac21e937d4ec186730 /gcc/c-common.c
parent8a803f3e1c68580727f3705fd37ed0e671a9a0f8 (diff)
downloadgcc-eec9c06d24dabd621190ce6659da7c73512af1e3.tar.gz
Delete get_inner_array_type. Use strip_array_types instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135858 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 70ba5cc4851..c02b442c7aa 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -4173,18 +4173,6 @@ self_promoting_args_p (const_tree parms)
return 1;
}
-/* Recursively examines the array elements of TYPE, until a non-array
- element type is found. */
-
-tree
-strip_array_types (tree type)
-{
- while (TREE_CODE (type) == ARRAY_TYPE)
- type = TREE_TYPE (type);
-
- return type;
-}
-
/* Recursively remove any '*' or '&' operator from TYPE. */
tree
strip_pointer_operator (tree t)