This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Fortran bootstrap broken
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: Tobias Burnus <burnus at net-b dot de>, gcc at gcc dot gnu dot org, Gerald Pfeifer <gerald at pfeifer dot com>, Janus Weil <janus at gcc dot gnu dot org>
- Date: Mon, 18 May 2009 15:21:22 +0200
- Subject: Re: Fortran bootstrap broken
- References: <20090518130011.GA14446@net-b.de> <84fc9c000905180610u10a1655erbb7a261a49d6f1f9@mail.gmail.com>
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."