This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Fortran bootstrap broken
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: gcc at gcc dot gnu dot org, Janus Weil <janus at gcc dot gnu dot org>
- Date: Mon, 18 May 2009 14:34:21 +0200 (CEST)
- Subject: Fortran bootstrap broken
- References: <200905181159.n4IBx3La062665@sputnik1.dbai.tuwien.ac.at>
As follows:
> cc1: warnings being treated as errors
> /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++
> gmake[3]: *** [fortran/intrinsic.o] Error 1
> gmake[3]: Leaving directory `/usr/nabil-files/pfeifer/OBJ-0518-1229/gcc'
Looks like a consequence of:
2009-05-18 Janus Weil <janus@gcc.gnu.org>
PR fortran/36947
PR fortran/40039
* expr.c (gfc_check_pointer_assign): Check intents when comparing
interfaces.
* gfortran.h (typedef struct gfc_intrinsic_arg): Add 'intent' member.
(gfc_compare_interfaces): Additional argument.
* interface.c (operator_correspondence): Add check for equality of
intents, and new argument 'intent_check'.
(gfc_compare_interfaces): New argument 'intent_check', which is passed
on to operator_correspondence.
(check_interface1): Don't check intents when comparing interfaces.
(compare_parameter): Do check intents when comparing interfaces.
* intrinsic.c (add_sym): Add intents for arguments of intrinsic
procedures. ...
I'm trying to develop and test my stdint.h patch on FreeBSD, but bootstrap
keeps being broken for all sorts of different reasons. :-(
Gerald