https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42543
Andrew Pinski changed:
What|Removed |Added
Known to work||4.6.4, 4.7.1
Status|NEW
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keyw
--- Comment #5 from hjl dot tools at gmail dot com 2009-12-29 17:33 ---
Icc 11.1 generates:
[...@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)arg
--- Comment #4 from hjl dot tools at gmail dot com 2009-12-29 17:32 ---
I am not sure if
---
char* FormatStringEx (char str[], size_t max_length, char templ[],
void* args, unsigned int flags)
{
...
void *args2;
char *arg,c;
...
while (index-- > 0 && (arg=va_arg((
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-12-29 17:17 ---
The trunk still ICEs:
gimplification failed:
(char *) args2.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42543