Richard Guenther <richard.guent...@gmail.com> writes: > On Mon, May 18, 2009 at 3:00 PM, Tobias Burnus <bur...@net-b.de> wrote: >> Index: intrinsic.c >> =================================================================== >> --- intrinsic.c (revision 147659) >> +++ intrinsic.c (working copy) >> @@ -303,7 +303,7 @@ >> type = (bt) va_arg (argp, int); >> kind = va_arg (argp, int); >> optional = va_arg (argp, int); >> - intent = va_arg (argp, int); >> + intent = (sym_intent) va_arg (argp, int); > > intent = va_arg (argp, sym_intent);
The argument of va_arg must be the promoted type, the enum type may not qualify. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."