diff options
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 4 | ||||
-rw-r--r-- | libgfortran/libgfortran.h | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index eef0b2885c7..773778ab256 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,5 +1,9 @@ 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... diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index fa2fd83e7fa..dbc3f29cd60 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. */ |