------- Comment #3 from rguenth at gcc dot gnu dot org 2005-10-06 11:21 ------- Reduced testcase:
typedef struct linklist *LinkList; typedef struct options *Options; typedef struct builtin *Builtin; struct options { }; typedef int (*HandlerFunc) (char *, char **, Options, int); struct builtin { HandlerFunc handlerfunc; int funcid; }; enum { XTRACE, OPT_SIZE }; extern char opts[OPT_SIZE]; int execbuiltin(LinkList args, Builtin bn) { char *pp, *name, *optstr; int flags, sense, argc, execop, xtr = (opts[XTRACE]); struct options ops; if (!bn->handlerfunc) { return 1; } { char * (argarr)[argc + 1]; char **argv; return (*(bn->handlerfunc)) (name, argv, &ops, bn->funcid); } } -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2005-10-06 11:21:00 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24225