------- Comment #14 from jvdelisle at gcc dot gnu dot org 2006-08-26 21:27
-------
With latest svn update and full bootstrap with Martins case above on
i686-linux-pc-gnu:
(gdb) r
Starting program: /home/jerry/bin/f951 <newbug.f90
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0x43229000
Warning: Reading file '<stdin>' as free form.
.file "<stdin>"
Program received signal SIGSEGV, Segmentation fault.
0x0809e8f8 in gfc_use_derived (sym=0x894b7e0)
at ../../gcc42/gcc/fortran/symbol.c:1561
1561 st->n.sym = s;
(gdb) bt
#0 0x0809e8f8 in gfc_use_derived (sym=0x894b7e0)
at ../../gcc42/gcc/fortran/symbol.c:1561
#1 0x0809e834 in gfc_use_derived (sym=0x8949a98)
at ../../gcc42/gcc/fortran/symbol.c:1538
#2 0x0805ba02 in gfc_match_data_decl () at ../../gcc42/gcc/fortran/decl.c:2261
#3 0x080851fa in match_word (str=Variable "str" is not available.
) at ../../gcc42/gcc/fortran/parse.c:65
#4 0x0808579d in decode_statement () at ../../gcc42/gcc/fortran/parse.c:134
#5 0x0808612e in next_statement () at ../../gcc42/gcc/fortran/parse.c:493
#6 0x08087ddc in parse_spec (st=ST_IMPLICIT_NONE)
at ../../gcc42/gcc/fortran/parse.c:1855
#7 0x08088299 in parse_progunit (st=Variable "st" is not available.
) at ../../gcc42/gcc/fortran/parse.c:2855
#8 0x080884e2 in parse_contained (module=1)
at ../../gcc42/gcc/fortran/parse.c:2801
#9 0x08088b03 in gfc_parse_file () at ../../gcc42/gcc/fortran/parse.c:3040
#10 0x080a9e0d in gfc_be_parse_file (set_yydebug=0)
at ../../gcc42/gcc/fortran/f95-lang.c:303
#11 0x0839fcc5 in toplev_main (argc=1, argv=0xbfa4fc14)
at ../../gcc42/gcc/toplev.c:999
#12 0x080ddf6f in main (argc=Cannot access memory at address 0xffffffff
) at ../../gcc42/gcc/main.c:35
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28788