[Bug middle-end/42543] ICE when using va_arg

hjl dot tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 29 17:33:00 GMT 2009



------- Comment #5 from hjl dot tools at gmail dot com  2009-12-29 17:33 -------
Icc 11.1 generates:

[hjl@gnu-6 rrs]$ /opt/intel/Compiler/11.1/059/bin/intel64/icc -S pr42543.c
pr42543.c(55): error: cast to type "va_list" is not allowed
              while (index-- > 0 && (arg=va_arg((va_list)args2,char*)) != NULL)
;
                                         ^

compilation aborted for pr42543.c (code 2)
[hjl@gnu-6 rrs]$ 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42543



More information about the Gcc-bugs mailing list