Re: Type-generic macros with C

2010-04-30 Thread Ian Lance Taylor
Jörg Leis 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 d

Type-generic macros with C

2010-04-30 Thread Jörg Leis
Hi, 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 "inl