Remove #ifdef's for IRIX_CC_BUG
authorRich Salz <rsalz@openssl.org>
Thu, 25 Sep 2014 18:43:24 +0000 (14:43 -0400)
committerRich Salz <rsalz@openssl.org>
Thu, 25 Sep 2014 18:43:24 +0000 (14:43 -0400)
Reviewed-by: Andy Polyakov <appro@openssl.org>
crypto/bn/bn_add.c
e_os.h

index 3835a8428cdad364832bb39ea14ca48713c025b2..caf35759152f0fbea4a540ea3f3c128a2da92a6e 100644 (file)
@@ -171,9 +171,6 @@ int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
        register BN_ULONG t1,t2,*rp;
        register const BN_ULONG *ap,*bp;
        int i,carry;
-#if defined(IRIX_CC_BUG) && !defined(LINT)
-       int dummy;
-#endif
 
        bn_check_top(a);
        bn_check_top(b);
@@ -210,9 +207,6 @@ int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
                        carry=(t1 < t2);
                        t1=(t1-t2)&BN_MASK2;
                        }
-#if defined(IRIX_CC_BUG) && !defined(LINT)
-               dummy=t1;
-#endif
                *(rp++)=t1&BN_MASK2;
                }
 #else
diff --git a/e_os.h b/e_os.h
index 0e01b46574ae83c633198e19c77578b07b4e5417..a5a2607b8f5110579523d336995234b0742e7ee1 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -657,13 +657,6 @@ extern char *sys_errlist[]; extern int sys_nerr;
 
 #define DG_GCC_BUG     /* gcc < 2.6.3 on DGUX */
 
-#ifdef sgi
-#define IRIX_CC_BUG    /* all version of IRIX I've tested (4.* 5.*) */
-#endif
-#ifdef OPENSSL_SYS_SNI
-#define IRIX_CC_BUG    /* CDS++ up to V2.0Bsomething suffered from the same bug.*/
-#endif
-
 #if defined(OPENSSL_SYS_WINDOWS)
 #  define strcasecmp _stricmp
 #  define strncasecmp _strnicmp