]> granicus.if.org Git - curl/commitdiff
further narrow the use of the icc 9.1 optimizer workaround
authorYang Tse <yangsita@gmail.com>
Fri, 17 Apr 2009 07:30:25 +0000 (07:30 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 17 Apr 2009 07:30:25 +0000 (07:30 +0000)
lib/curl_addrinfo.c

index 515ddcfd216a0d2a8f0aed0ef5b78ef7be82814f..d5a6bc712c76c1de08f6d1746eae18b7f4e7002f 100644 (file)
@@ -74,7 +74,9 @@
 void
 Curl_freeaddrinfo(Curl_addrinfo *cahead)
 {
-#if defined(__INTEL_COMPILER) && (__INTEL_COMPILER == 910)
+#if defined(__INTEL_COMPILER) && (__INTEL_COMPILER == 910) && \
+    defined(__unix__) &&  defined(__i386__)
+  /* workaround icc 9.1 optimizer issue */
   volatile Curl_addrinfo * volatile ca;
   volatile Curl_addrinfo * volatile canext;
 #else