aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-04-16 08:31:09 +0000
committerYang Tse <yangsita@gmail.com>2009-04-16 08:31:09 +0000
commit41fd08bb0d7d81d607aa5886188bfb03a439f1f3 (patch)
tree2e8b8e24a83d5de84f3c8abc87edb613c564ec79 /lib
parentd0a930cd443bc23c1c366aa135ab4c87f78ad80e (diff)
attempt to workaround icc 9.1 optimizer induced problem
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_addrinfo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/curl_addrinfo.c b/lib/curl_addrinfo.c
index 19f73c48c..515ddcfd2 100644
--- a/lib/curl_addrinfo.c
+++ b/lib/curl_addrinfo.c
@@ -74,7 +74,12 @@
void
Curl_freeaddrinfo(Curl_addrinfo *cahead)
{
+#if defined(__INTEL_COMPILER) && (__INTEL_COMPILER == 910)
+ volatile Curl_addrinfo * volatile ca;
+ volatile Curl_addrinfo * volatile canext;
+#else
Curl_addrinfo *ca, *canext;
+#endif
for(ca = cahead; ca != NULL; ca = canext) {