further narrow the use of the icc 9.1 optimizer workaround

This commit is contained in:
Yang Tse 2009-04-17 07:30:25 +00:00
parent 41fd08bb0d
commit ce7b565595
1 changed files with 3 additions and 1 deletions

View 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