aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-05-25 03:58:15 +0000
committerAlan Modra <amodra@gcc.gnu.org>2008-05-25 13:28:15 +0930
commitdd25a747c916bf685457171d18712bbff325babc (patch)
tree10de1a929aea6ab2bd2733ac21e937d4ec186730 /gcc/c-common.c
parentbcfef99b785c04701dd07510a903b8b90a6d5869 (diff)
downloadgcc-dd25a747c916bf685457171d18712bbff325babc.zip
gcc-dd25a747c916bf685457171d18712bbff325babc.tar.gz
gcc-dd25a747c916bf685457171d18712bbff325babc.tar.bz2
Delete get_inner_array_type. Use strip_array_types instead.
From-SVN: r135858
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 70ba5cc..c02b442 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)