File ksh93-aso.dif of Package ksh

--- src/lib/libast/features/aso
+++ src/lib/libast/features/aso	2014-02-18 13:50:32.820793960 +0000
@@ -10,7 +10,10 @@ if	aso note{ gcc 4.1+ 64 bit memory atom
 		int main()
 		{
 			uint64_t i = 0;
-			return __sync_fetch_and_add(&i,7);
+			uint32_t j = 0;
+			uint16_t l = 0;
+			uint8_t  m = 0;
+			return __sync_fetch_and_add(&i,7)+__sync_fetch_and_add(&j,7)+__sync_fetch_and_add(&l,7)+__sync_fetch_and_add(&m,7);
 		}
 	}end && {
 		#define _ASO_INTRINSIC		1
@@ -46,7 +49,9 @@ elif	aso note{ gcc 4.1+ 32 bit memory at
 		int main()
 		{
 			uint32_t i = 0;
-			return __sync_fetch_and_add(&i,7);
+			uint16_t j = 0;
+			uint8_t  l = 0;
+			return __sync_fetch_and_add(&i,7)+__sync_fetch_and_add(&j,7)+__sync_fetch_and_add(&l,7);
 		}
 	}end && {
 		#define _ASO_INTRINSIC		1
openSUSE Build Service is sponsored by