[Bug c/40023] type mismatch in address expression
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue May 5 12:47:00 GMT 2009
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-05-05 12:47 -------
Confirmed.
typedef __builtin_va_list va_list;
typedef struct {
va_list ap;
} ScanfState;
void
GetInt(ScanfState *state, long llval)
{
*__builtin_va_arg(state->ap,long *) = llval;
__builtin_va_end(state->ap);
}
I have a patch.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-05-05 12:47:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40023
More information about the Gcc-bugs
mailing list