]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
longlong.h: Use 'defined()' to check __mips16.
authorSteve Ellcey <sellcey@mips.com>
Thu, 1 May 2014 15:07:00 +0000 (15:07 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Thu, 1 May 2014 15:07:00 +0000 (15:07 +0000)
2014-05-01  Steve Ellcey  <sellcey@mips.com>

* include/longlong.h: Use 'defined()' to check __mips16.

From-SVN: r209980

include/ChangeLog
include/longlong.h

index 41103a4c8f9e95f2de08d188b349631585c7d71a..1655306019c13f587aad48fa6f8e0d741a397a4d 100644 (file)
@@ -1,3 +1,7 @@
+2014-05-01  Steve Ellcey  <sellcey@mips.com>
+
+       * include/longlong.h: Use 'defined()' to check __mips16.
+
 2014-04-30  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * longlong.h (__i386__): Remove W_TYPE_SIZE==64 handling.
index 0770290a58bfe8ff5c04477f5c6f82b890e01fb0..31f88cb3f597c749c0c205c00bce45a6ed455fa4 100644 (file)
@@ -848,7 +848,7 @@ extern UDItype __umulsidi3 (USItype, USItype);
 #define UMUL_TIME 10
 #define UDIV_TIME 100
 
-#if (__mips == 32 || __mips == 64) && ! __mips16
+#if (__mips == 32 || __mips == 64) && ! defined (__mips16)
 #define count_leading_zeros(COUNT,X)   ((COUNT) = __builtin_clz (X))
 #define COUNT_LEADING_ZEROS_0 32
 #endif