ICE seg fault

Daniel Franke franke.daniel@gmail.com
Mon Jul 30 19:58:00 GMT 2007


On Monday 30 July 2007 21:42:06 Florian Ladstaedter wrote:
> Program received signal SIGSEGV, Segmentation fault.
> 0x08064563 in check_specification_function (e=<value optimized out>) at
> ../../gcc/gcc/fortran/expr.c:696
> 696       sym = e->symtree->n.sym;
> (gdb) p e->symtree
> Cannot access memory at address 0x28
> (gdb) p e->where
> Cannot access memory at address 0x30
> (gdb) p e->where->lb->file->filename
> Cannot access memory at address 0x34
> (gdb) p e->where->lb->file->line
> Cannot access memory at address 0x34

Although I can't help yet with the actual problem, I can at least contribute 
that this function was introduced by me in my recent init-expr patch. 

Florian, you need to look for initialization expressions, anything like 

  integer :: a = somefunction(anyarg)

I'd guess that the passed expression is somehow damaged (for a suitable 
definition of damaged).

Hope this helps?!

	Daniel



More information about the Fortran mailing list