This is the mail archive of the
mailing list for the GCC project.
Re: Type-generic macros with C
- From: Ian Lance Taylor <iant at google dot com>
- To: JÃrg Leis <joerg at joergleis dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 30 Apr 2010 10:36:18 -0700
- Subject: Re: Type-generic macros with C
- References: <1272643259.4438.39.camel@maria>
JÃrg Leis <email@example.com> writes:
> would it be possible for GCC to ignore the expression that is not
> chosen by __builtin_choose_expr?
> Furthermore, it seems like this built-in function inhibits GCC's
> ability to inline functions. I get an undefined reference when I
> compile without -O2; the function is defined in C99-mode as "inline".
> I am sorry if I am posting to the wrong list.
You are, in fact, posting to the wrong list. The right list for this
kind of question is firstname.lastname@example.org. Please take any followups
to that list. Thanks.
My understanding is that __builtin_choose_expr does ignore the
expression that is not chosen, so you must mean something other than I
what mean. Please post an example.