On Thu, 2018-03-08 at 13:40 -0800, Kees Cook wrote:
> 
> +#define __min(t1, t2, x, y)                                          \
> +     __builtin_choose_expr(__builtin_constant_p(x) &&                \
> +                           __builtin_constant_p(y) &&                \
> +                           __builtin_types_compatible_p(t1, t2),     \
> +                           (t1)(x) < (t2)(y) ? (t1)(x) : (t2)(y),    \
> +                           __single_eval_min(t1, t2,                 \
> +                                             __UNIQUE_ID(max1_),     \
> +                                             __UNIQUE_ID(max2_),     \

min1_ etc?

Ian.

Reply via email to