[Patch] Fix PR 5582 and 10538, missed uninitialized variable warning

Andrew Pinski pinskia@physics.uc.edu
Tue Aug 19 18:39:00 GMT 2003


c-common.c:
> @@ -3530,18 +3535,6 @@ self_promoting_args_p (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;
> -}
> -
>  static tree expand_unordered_cmp (tree, tree, enum tree_code, enum 
> tree_code);
>
>  /* Expand a call to an unordered comparison function such as
>

c-common.h:

> @@ -944,7 +950,6 @@ extern void c_common_parse_file (int);
>  extern HOST_WIDE_INT c_common_get_alias_set (tree);
>  extern bool c_promoting_integer_type_p (tree);
>  extern int self_promoting_args_p (tree);
> -extern tree strip_array_types (tree);
>
>  /* This function resets the parsers' state in preparation for parsing
>     a new file.  */
>

These two hunks were not supposed to be in the patch.

Andrew



More information about the Gcc-patches mailing list