Commit afe31cdb by Francois-Xavier Coudert Committed by François-Xavier Coudert

* libgfortran.h: Assume __GNUC__.

From-SVN: r212328
parent 77777b33
2014-07-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* libgfortran.h: Assume __GNUC__.
2014-07-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* runtime/stop.c: Use C11 _Noreturn.
* libgfortran.h: Use C11 _Noreturn in prototypes.
Move REALPART, IMAGPART and COMPLEX_ASSIGN macros...
......
......@@ -107,14 +107,8 @@ typedef off_t gfc_offset;
heuristic will mark this branch as much less likely as unlikely() would
do. */
#ifndef __GNUC__
#define __attribute__(x)
#define likely(x) (x)
#define unlikely(x) (x)
#else
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
#endif
/* Make sure we have ptrdiff_t. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment