diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-07 11:59:27 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-07 11:59:27 +0000 |
commit | d0c3eecf2d404f02ae7a478f2f50785732dc583b (patch) | |
tree | ee04a8b673f93631e20b683929cd96aaf6bac592 /libgfortran | |
parent | 4a589d309fac1884ddcdac7e78c54369e7d2172f (diff) | |
download | linaro-gcc-d0c3eecf2d404f02ae7a478f2f50785732dc583b.tar.gz linaro-gcc-d0c3eecf2d404f02ae7a478f2f50785732dc583b.tar.bz2 linaro-gcc-d0c3eecf2d404f02ae7a478f2f50785732dc583b.zip |
* libgfortran.h: Assume __GNUC__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212328 138bc75d-0d04-0410-961f-82ee72b054a4
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. */ |