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/44622] New: [4.6 Regression] ICE in gfc_typenode_for_spec


current trunk fails to compile trunk CP2K. This seems due to something
introduced between today and something like 10 days ago. I have tried to reduce
a testcase, but it remains ~1000 lines, with many module dependencies. Best
seems to checkout a current version of CP2K and compile.

Breakpoint 1, fancy_abort (file=0xded168
"/data03/vondele/gcc_trunk/gcc/gcc/fortran/trans-types.c", line=994, 
    function=0xded7f0 "gfc_typenode_for_spec") at
/data03/vondele/gcc_trunk/gcc/gcc/diagnostic.c:793
793     {
(gdb) bt
#0  fancy_abort (file=0xded168
"/data03/vondele/gcc_trunk/gcc/gcc/fortran/trans-types.c", line=994, 
    function=0xded7f0 "gfc_typenode_for_spec") at
/data03/vondele/gcc_trunk/gcc/gcc/diagnostic.c:793
#1  0x0000000000594014 in gfc_typenode_for_spec (spec=0x1582540)
    at /data03/vondele/gcc_trunk/gcc/gcc/fortran/trans-types.c:994
#2  0x00000000005947a9 in gfc_sym_type (sym=0x1582520) at
/data03/vondele/gcc_trunk/gcc/gcc/fortran/trans-types.c:1769
#3  0x000000000059443c in gfc_get_function_type (sym=0x1582520)
    at /data03/vondele/gcc_trunk/gcc/gcc/fortran/trans-types.c:2399
#4  0x0000000000563195 in build_function_decl (sym=0x1582520) at
/data03/vondele/gcc_trunk/gcc/gcc/fortran/trans-decl.c:1613
#5  0x000000000056421f in gfc_create_function_decl (ns=0x15d45b0)
    at /data03/vondele/gcc_trunk/gcc/gcc/fortran/trans-decl.c:2165
#6  0x000000000054a128 in gfc_generate_module_code (ns=0x145df20) at
/data03/vondele/gcc_trunk/gcc/gcc/fortran/trans.c:1375
#7  0x000000000051109c in gfc_parse_file () at
/data03/vondele/gcc_trunk/gcc/gcc/fortran/parse.c:4382
#8  0x000000000054755d in gfc_be_parse_file (set_yydebug=<value optimized out>)
    at /data03/vondele/gcc_trunk/gcc/gcc/fortran/f95-lang.c:236
#9  0x000000000084d94e in toplev_main (argc=23, argv=0x7fff337fcae8) at
/data03/vondele/gcc_trunk/gcc/gcc/toplev.c:985
#10 0x00007fcad0914436 in __libc_start_main () from /lib64/libc.so.6
#11 0x00000000004a97c9 in _start ()


-- 
           Summary: [4.6 Regression] ICE in gfc_typenode_for_spec
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


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


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