------- Comment #37 from rguenth at gcc dot gnu dot org  2009-07-24 10:27 
-------
We then get to the next ICE ...

(gdb) up
#1  0x0819bfaa in gfc_create_module_variable (sym=0x22cb3750)
    at /home/richard/src/trunk/gcc/fortran/trans-decl.c:3327
3327          gcc_assert (TYPE_CONTEXT (decl) == NULL_TREE
(gdb) l
3327          gcc_assert (TYPE_CONTEXT (decl) == NULL_TREE
3328                      || TYPE_CONTEXT (decl) ==
sym->ns->proc_name->backend_decl);

   context <namespace_decl 0xb7665cb0 global_types>

vs.

 <namespace_decl 0xad5080e0 ep_types
    type <void_type 0xb7ccb9a0 void VOID
        align 8 symtab 0 alias set -1 canonical type 0xb7ccb9a0
        pointer_to_this <pointer_type 0xb7ccba10>>
    VOID file CP2K_2009-05-01.f90 line 332958 col 0
    align 1>

I'll reduce that.


-- 


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

Reply via email to