* libgfortran.h: Assume __GNUC__.

From-SVN: r212328
This commit is contained in:
Francois-Xavier Coudert 2014-07-07 11:59:27 +00:00 committed by François-Xavier Coudert
parent 77777b33a8
commit afe31cdb2c
2 changed files with 4 additions and 6 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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. */