Fortran bootstrap broken
Andreas Schwab
schwab@linux-m68k.org
Mon May 18 14:40:00 GMT 2009
Richard Guenther <richard.guenther@gmail.com> writes:
> On Mon, May 18, 2009 at 3:00 PM, Tobias Burnus <burnus@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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gcc
mailing list