Bootstrap broken on i386-pc-mingw32; ICE while building libgfortran

2007-07-27 Thread François-Xavier Coudert
Hi all, Bootstrap including gfortran has been broken on native i386-pc-mingw32 for at least 10 days, with the C compiler having an ICE while compiling libgfortran/io/write.c. I finally found the opportunity to reduce the ICE to the following code: $ cat write.i extern void fflush (int); extern

Bootstrap broken on i386-pc-mingw32

2007-03-29 Thread François-Xavier Coudert
Hi Zack, hi all, A bootstrap of GCC mainline, rev. 123324, fails because of: gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition

Re: Bootstrap broken on i386-pc-mingw32

2007-03-29 Thread François-Xavier Coudert
I'm CCing Zack Away on vacation until March 31st, said the automated reply. PS: I've launched a cross build to see if I can reproduce it there, which would of course make it easier for tracking down. Works OK on the cross. So, it's probably a host problem in gengtype. It appears to exist on

Re: Bootstrap broken on i386-pc-mingw32

2007-03-29 Thread Zack Weinberg
On 3/29/07, François-Xavier Coudert [EMAIL PROTECTED] wrote: Works OK on the cross. So, it's probably a host problem in gengtype. It appears to exist on HPUX as well, as Steve noted. Yeah, it appears I was overly optimistic in hoping vsnprintf() would do what C99 says it does. I do not have

Re: Bootstrap broken on i386-pc-mingw32

2007-03-29 Thread François-Xavier Coudert
Yeah, it appears I was overly optimistic in hoping vsnprintf() would do what C99 says it does. I do not have access to any system that shows the problem, but I've attached a patch that should fix it (it just reverts the oprintf() changes, which were not really necessary, I was just trying to be

Re: Bootstrap broken on i386-pc-mingw32

2007-03-29 Thread Zack Weinberg
[resend] On 3/29/07, François-Xavier Coudert [EMAIL PROTECTED] wrote: I've attached a patch that should fix it (it just reverts the oprintf() changes, which were not really necessary, I was just trying to be more efficient). Thanks, that fixes it for me on i386-pc-mingw32. committed. zw