From 5dadf34209c288b8fffba1016e6a3c9446381153 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 7 Jun 2007 02:37:32 +0000 Subject: Replace hacked OpenSSL code with OpenSSL 0.9.8e distribution. svn path=/openssl/Makefile; revision=659 --- openssl/trunk/bugs/ultrixcc.c | 45 ------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 openssl/trunk/bugs/ultrixcc.c (limited to 'openssl/trunk/bugs/ultrixcc.c') diff --git a/openssl/trunk/bugs/ultrixcc.c b/openssl/trunk/bugs/ultrixcc.c deleted file mode 100644 index 7ba75b14..00000000 --- a/openssl/trunk/bugs/ultrixcc.c +++ /dev/null @@ -1,45 +0,0 @@ -#include - -/* This is a cc optimiser bug for ultrix 4.3, mips CPU. - * What happens is that the compiler, due to the (a)&7, - * does - * i=a&7; - * i--; - * i*=4; - * Then uses i as the offset into a jump table. - * The problem is that a value of 0 generates an offset of - * 0xfffffffc. - */ - -main() - { - f(5); - f(0); - } - -int f(a) -int a; - { - switch(a&7) - { - case 7: - printf("7\n"); - case 6: - printf("6\n"); - case 5: - printf("5\n"); - case 4: - printf("4\n"); - case 3: - printf("3\n"); - case 2: - printf("2\n"); - case 1: - printf("1\n"); -#ifdef FIX_BUG - case 0: - ; -#endif - } - } - -- cgit v1.2.3