Wish: __builtin_side_effect_free_p, __builtin_lvalue_p

Richard Henderson rth@redhat.com
Sun Feb 25 10:55:00 GMT 2001


On Wed, Feb 21, 2001 at 11:49:48AM +0100, Niels Möller wrote:
>   #define FOO(f, a) ((f)->foo((f), (a)))

Try

  #define FOO(f, a)  ({ __typeof(f) f_ = (f); f_->foo(f_, (a)); })


r~



More information about the Gcc-bugs mailing list