]> granicus.if.org Git - curl/commitdiff
Further narrow the use of the icc 9.1 optimizer workaround.
authorYang Tse <yangsita@gmail.com>
Sat, 25 Apr 2009 10:24:11 +0000 (10:24 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 25 Apr 2009 10:24:11 +0000 (10:24 +0000)
Previous workaround proved useful, and finally did not trigger any warning!

lib/curl_addrinfo.c

index 9d56e6a2f07ef5ab0400ff8bf3fc41eb4a623722..a9db3d75f6f4b09dc14d4db4ff2c92abb265ae35 100644 (file)
@@ -69,7 +69,7 @@
  */
 
 #if defined(__INTEL_COMPILER) && (__INTEL_COMPILER == 910) && \
-    defined(__unix__) &&  defined(__i386__)
+    defined(__OPTIMIZE__) && defined(__unix__) &&  defined(__i386__)
   /* workaround icc 9.1 optimizer issue */
 # define vqualifier volatile
 #else