Bootstrap failure building Fortran (f/fini miscompiled)

Klaus-Georg Adams Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Mon Nov 2 06:14:00 GMT 1998


Bootstraping breaks on i686-pc-linux-gnulibc1 and i686-pc-linux-gnu
during the execution of f/fini:

./fini `echo /work/adams/egcs-cvs/gcc/f/str-1t.fin | sed 's,^\./,,'` str-1t.j str-1t.h
make[3]: *** [str-1t.h] Segmentation fault (core dumped)

The SEGV occurs at line 356:
  while (TRUE)
    {
      count = fscanf (in, "%s %s", buf, kwname);
      if (count == EOF)
	break;
      len = strlen (buf);       /* This is line 356 */
      if (len == 0)
	continue;		/* Skip empty lines. */
      if (buf[0] == ';')
	continue;		/* Skip commented-out lines. */

buf contains ;Accept\000 kwname ACCEPT\000

If I build fini with an older gcc it works.
The sources are CVS from 2 Nov.

-- kga
-------------------------------------------------------------------------
Klaus-Georg Adams        Email: Klaus-Georg.Adams@chemie.uni-karlsruhe.de
Institut f. Anorg. Chemie, Lehrstuhl II            Tel: 49(0)721 608 3485
Universität Karlsruhe, D-76128 Karlsruhe
-------------------------------------------------------------------------



More information about the Gcc-bugs mailing list