This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Fortran bootstrap broken
- From: Tobias Burnus <burnus at net-b dot de>
- To: gcc at gcc dot gnu dot org
- Cc: Gerald Pfeifer <gerald at pfeifer dot com>, Janus Weil <janus at gcc dot gnu dot org>
- Date: Mon, 18 May 2009 15:00:11 +0200
- Subject: Re: Fortran bootstrap broken
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);
if (sizing != SZ_NOTHING)
nargs++;