This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Fortran bootstrap broken
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: 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:10:10 +0200
- Subject: Re: Fortran bootstrap broken
- References: <20090518130011.GA14446@net-b.de>
On Mon, May 18, 2009 at 3:00 PM, Tobias Burnus <burnus@net-b.de> wrote:
> Dear Gerald,
>
>> /usr/test/gcc/gcc/fortran/intrinsic.c: In function 'add_sym':
>> /usr/test/gcc/gcc/fortran/intrinsic.c:306: error: enum conversion in assignment is invalid in C++
>
> Can you try whether the following patch works? If so, you can
> commit it as obvious. (I cannot test/commit it until this evening.)
>
> Tobias
>
> 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);
instead?
>
> ? ? ? if (sizing != SZ_NOTHING)
> ? ? ? ?nargs++;
>