------- Comment #1 from pinskia at gcc dot gnu dot org 2009-05-20 15:21 ------- The define and the static inline functions are not equivalent at all. #define evaluate(val) \ do { \ typeof(val) tmpval = val; \ if (unlikely(enabled)) { \ printf("value is: %d\n", tmpval); \ } \ } while (0)
makes the define equivalent to the static inline funciton. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Component|c |middle-end http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40207