This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fortran bootstrap broken


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]