This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: builtins: choose_expr and types_compatible_p
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 8 Dec 2001 22:20:56 +0000 (GMT)
- Subject: Re: builtins: choose_expr and types_compatible_p
On 8 Dec 2001, Aldy Hernandez wrote:
> after a few iterations with joseph, regarding docs and test cases, i
> think this is it.
>
> ok?
>
> 2001-10-07 Aldy Hernandez <aldyh@redhat.com>
>
> * testsuite/gcc.c-torture/execute/builtin-types-compatible-p.c: New.
>
> * testsuite/gcc.c-torture/gcc.dg/builtin-choose-expr.c: New.
>
> * c-common.h (rid): Add RID_CHOOSE_EXPR and
> RID_TYPES_COMPATIBLE_P.
>
> * c-parse.in (reswords): Add __builtin_choose_expr.
> Add __builtin_types_compatible_p.
> Add CHOOSE_EXPR token.
> Add TYPES_COMPATIBLE_P token.
> Add production for CHOOSE_EXPR.
> Add production for TYPES_COMPATIBLE_P.
>
> * doc/extend.texi (__builtin_choose_expr): Add documentation.
> (__builtin_types_compatible_p): Likewise.
OK.
--
Joseph S. Myers
jsm28@cam.ac.uk