diff options
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 0482a83..c8e9c12 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -149,6 +149,11 @@ int flag_no_builtin; int flag_no_nonansi_builtin; +/* If non-NULL, dump the tree structure for the entire translation + unit to this file. */ + +const char *flag_dump_translation_unit; + /* Nonzero means warn about possible violations of sequence point rules. */ int warn_sequence_point; @@ -5398,6 +5403,19 @@ self_promoting_args_p (parms) return 1; } +/* Recursively examines the array elements of TYPE, until a non-array + element type is found. */ + +tree +strip_array_types (type) + tree type; +{ + while (TREE_CODE (type) == ARRAY_TYPE) + type = TREE_TYPE (type); + + return type; +} + /* Recognize certain built-in functions so we can make tree-codes other than CALL_EXPR. We do this when it enables fold-const.c to do something useful. */ |