https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109913

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #8)
> powerpc darwin bootstrap succeeded at r14-1028 with (as expected) Andrew's
> patch amended to:
> 
> diff --git a/libobjc/encoding.c b/libobjc/encoding.c
> index 9bd261c..f1bbd6b 100644
> --- a/libobjc/encoding.c
> +++ b/libobjc/encoding.c
> @@ -67,6 +67,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. 
> If not, see
>  #define UNION_TYPE      _C_UNION_B
>  #define QUAL_UNION_TYPE _C_UNION_B
>  #define ARRAY_TYPE      _C_ARY_B
> +#define RECORD_OR_UNION_TYPE_P(TYPE)                   \
> +       ((TREE_CODE (TYPE) == RECORD_TYPE)              \
> +        || (TREE_CODE (TYPE) == UNION_TYPE)            \
> +        || (TREE_CODE (TYPE) == QUAL_UNION_TYPE))
> +#define VECTOR_TYPE_P(TYPE) (TREE_CODE (TYPE) == VECTOR_TYPE)
> 
>  #define REAL_TYPE       _C_DBL

This patch is ok, if you don't get to it today, I will apply it tomorrow.

Reply via email to