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/15323] New: [gfortran] ICE in create_tmp_var_for


Compiling the attached program gives:
[tobi@marktplatz tests]$ ../gcc/build-clean/gcc/f951 reduced.f90
 MAIN__
 t_sum
 
reduced.f90: At top level:
reduced.f90:21: internal compiler error: in create_tmp_var_for, at tree-nested.c:139
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
[tobi@marktplatz tests]$

Backtrace:
(gdb) bt
#0  create_tmp_var_for (info=0x9537f48, type=0xf6d9e3a0,
    prefix=0x9537f48 "\230}S\t") at ../../gcc-clean/gcc/tree-nested.c:139
#1  0x081166aa in init_tmp_var (info=Variable "info" is not available.
) at ../../gcc-clean/gcc/tree-nested.c:357
#2  0x08117b61 in convert_nonlocal_reference (tp=0xf6e1925c,
    walk_subtrees=0xfee54d68, data=0xfee54e70)
    at ../../gcc-clean/gcc/tree-nested.c:741
#3  0x083c125d in walk_tree (tp=0xf6e1925c,
    func=0x81178f0 <convert_nonlocal_reference>, data=0xfee54e70, htab_=0x0)
    at ../../gcc-clean/gcc/tree-inline.c:2000
#4  0x083c1371 in walk_tree (tp=0xf6e19554,
    func=0x81178f0 <convert_nonlocal_reference>, data=0xfee54e70, htab_=0x0)
    at ../../gcc-clean/gcc/tree-inline.c:2046
#5  0x0811629e in walk_stmts (wi=0xfee54e70, tp=Variable "tp" is not available.
)
    at ../../gcc-clean/gcc/tree-nested.c:569
#6  0x081163b9 in walk_stmts (wi=0xfee54e70, tp=Variable "tp" is not available.
)
    at ../../gcc-clean/gcc/tree-nested.c:536
#7  0x08116463 in walk_function (
    callback=0x81178f0 <convert_nonlocal_reference>, info=Variable "info" is not
available.
)
    at ../../gcc-clean/gcc/tree-nested.c:592
#8  0x081164c7 in walk_all_functions (
    callback=0x81178f0 <convert_nonlocal_reference>, root=0xf6d9e3a0)
    at ../../gcc-clean/gcc/tree-nested.c:604
#9  0x081164be in walk_all_functions (
    callback=0x81178f0 <convert_nonlocal_reference>, root=0xf6d9e3a0)
    at ../../gcc-clean/gcc/tree-nested.c:603
#10 0x0811700c in lower_nested_functions (fndecl=0x9537f48)
    at ../../gcc-clean/gcc/tree-nested.c:1321
#11 0x08090a88 in gfc_generate_function_code (ns=0x9534468)
    at ../../gcc-clean/gcc/fortran/trans-decl.c:2068
#12 0x0808c603 in gfc_generate_code (ns=0x9534468)
    at ../../gcc-clean/gcc/fortran/trans.c:630
#13 0x08072db9 in gfc_parse_file () at ../../gcc-clean/gcc/fortran/parse.c:2485
#14 0x08089605 in gfc_be_parse_file (set_yydebug=0)
    at ../../gcc-clean/gcc/fortran/f95-lang.c:265
#15 0x08374785 in toplev_main (argc=156467016, argv=0xfee55104)
    at ../../gcc-clean/gcc/toplev.c:1638
#16 0x005b2f43 in __libc_start_main () from /lib/tls/libc.so.6
#17 0x0804acc1 in _start ()
(gdb)

-- 
           Summary: [gfortran] ICE in create_tmp_var_for
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Tobias dot Schlueter at physik dot uni-muenchen dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux


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


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