From afe31cdb2c2ae23a5da1b37339282c4ca6dbcabc Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Mon, 7 Jul 2014 11:59:27 +0000 Subject: [PATCH] * libgfortran.h: Assume __GNUC__. From-SVN: r212328 --- libgfortran/ChangeLog | 4 ++++ libgfortran/libgfortran.h | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index eef0b28..773778a 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,5 +1,9 @@ 2014-07-07 Francois-Xavier Coudert + * libgfortran.h: Assume __GNUC__. + +2014-07-07 Francois-Xavier Coudert + * runtime/stop.c: Use C11 _Noreturn. * libgfortran.h: Use C11 _Noreturn in prototypes. Move REALPART, IMAGPART and COMPLEX_ASSIGN macros... diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index fa2fd83..dbc3f29 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -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. */ -- 2.7.4