This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/58787] ICE (error recovery) in check_proc_interface


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58787

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Backtrace (patched tree):

Program received signal SIGSEGV, Segmentation fault.
gfc_resolve_expr (e=0x141e1f7a0) at ../../work/gcc/fortran/resolve.c:2827
2827      if (sym && sym->attr.intrinsic
(gdb) bt
#0  gfc_resolve_expr (e=0x141e1f7a0) at ../../work/gcc/fortran/resolve.c:2827
#1  0x0000000100088519 in resolve_index_expr (e=<optimized out>) at
../../work/gcc/fortran/resolve.c:10223
#2  0x0000000100088595 in resolve_charlen (cl=<optimized out>) at
../../work/gcc/fortran/resolve.c:10268
#3  0x0000000100093efa in resolve_types (ns=<optimized out>) at
../../work/gcc/fortran/resolve.c:10244
#4  0x000000010008f9eb in gfc_resolve (ns=<optimized out>) at
../../work/gcc/fortran/resolve.c:14670
#5  0x0000000100079deb in gfc_parse_file () at
../../work/gcc/fortran/parse.c:4469
#6  0x00000001000bc7f6 in gfc_be_parse_file () at
../../work/gcc/fortran/f95-lang.c:188
#7  0x000000010084c924 in compile_file () at ../../work/gcc/toplev.c:547
#8  0x000000010084ebe9 in toplev_main (argc=2, argv=0x7fff5fbff4d0) at
../../work/gcc/toplev.c:1887

(gdb) p e->symtree->n.sym
$5 = (gfc_symbol *) 0x20000141e201e0
(gdb) p *e->symtree->n.sym
Cannot access memory at address 0x20000141e201e0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]