[Bug middle-end/40207] request for enhancement: delay argument loading until needed

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40207 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/40207] request for enhancement: delay argument loading until needed

2009-05-20 Thread fche at redhat dot com
--- Comment #2 from fche at redhat dot com 2009-05-20 16:56 --- (In reply to comment #1) > The define and the static inline functions are not equivalent at all. Right, in general, but if the expressions are side-effect-free, gcc could move their evaluation farther down. -- fche at r

[Bug middle-end/40207] request for enhancement: delay argument loading until needed

2009-05-20 Thread pinskia at gcc dot gnu dot org
--- 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", tmpva