]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* libgfortran.h: Assume __GNUC__.
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Mon, 7 Jul 2014 11:59:27 +0000 (11:59 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Mon, 7 Jul 2014 11:59:27 +0000 (11:59 +0000)
From-SVN: r212328

libgfortran/ChangeLog
libgfortran/libgfortran.h

index eef0b2885c71a74a5d3b01143d7f36574290ce97..773778ab2569142d0affd78b67d36c561dfa9aeb 100644 (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.
index fa2fd83e7fa1f244b5a89498e655b733513f6bcf..dbc3f29cd60b27985c18ac2b4a170fc394672192 100644 (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. */