Re: Fortran bootstrap broken

2009-05-18 Thread Joseph S. Myers
On Mon, 18 May 2009, Richard Guenther wrote: > > -      intent = va_arg (argp, int); > > +      intent = (sym_intent) va_arg (argp, int); > > intent = va_arg (argp, sym_intent); > > instead? You can't use va_arg with an enum type on short-enums hosts, though we may not presently support any

Re: Fortran bootstrap broken

2009-05-18 Thread Janus Weil
2009/5/18 Janus Weil : > 2009/5/18 Tobias Burnus : >> 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 >> === >>

Re: Fortran bootstrap broken

2009-05-18 Thread Janus Weil
2009/5/18 Tobias Burnus : > 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)

Re: Fortran bootstrap broken

2009-05-18 Thread Andreas Schwab
Richard Guenther writes: > On Mon, May 18, 2009 at 3:00 PM, Tobias Burnus wrote: >> Index: intrinsic.c >> === >> --- intrinsic.c (revision 147659) >> +++ intrinsic.c (working copy) >> @@ -303,7 +303,7 @@ >>       type = (bt) va_arg

Re: Fortran bootstrap broken

2009-05-18 Thread Richard Guenther
On Mon, May 18, 2009 at 3:00 PM, Tobias Burnus 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,

Re: Fortran bootstrap broken

2009-05-18 Thread Tobias Burnus
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 th

Fortran bootstrap broken

2009-05-18 Thread Gerald Pfeifer
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 `/u