From: Yang Tse Date: Fri, 17 Apr 2009 07:30:25 +0000 (+0000) Subject: further narrow the use of the icc 9.1 optimizer workaround X-Git-Tag: curl-7_19_5~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce7b5655954393e4d1d2ff64bafa0ba28cae336d;p=thirdparty%2Fcurl.git further narrow the use of the icc 9.1 optimizer workaround --- diff --git a/lib/curl_addrinfo.c b/lib/curl_addrinfo.c index 515ddcfd21..d5a6bc712c 100644 --- a/lib/curl_addrinfo.c +++ b/lib/curl_addrinfo.c @@ -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