https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61819
Salvatore Filippone <sfilippone at uniroma2 dot it> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #33127|0 |1 is obsolete| | --- Comment #3 from Salvatore Filippone <sfilippone at uniroma2 dot it> --- Created attachment 33129 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33129&action=edit test case Reduced test case, giving: [sfilippo@jacobi leak-demo]$ gfortran -c foo-test-ice.f90 foo-test-ice.f90: In function ‘__final_foo_vector_field_mod_Vector_field’: foo-test-ice.f90:62:0: internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:146 end module foo_vector_field_mod ^ 0x602fc5 gfc_conv_descriptor_data_get(tree_node*) ../../gcc/gcc/fortran/trans-array.c:146 0x60a24e gfc_array_deallocate(tree_node*, tree_node*, tree_node*, tree_node*, tree_node*, gfc_expr*) ../../gcc/gcc/fortran/trans-array.c:5350 0x674bea gfc_trans_deallocate(gfc_code*) ../../gcc/gcc/fortran/trans-stmt.c:5484 0x5ff2b7 trans_code ../../gcc/gcc/fortran/trans.c:1798 0x66a583 gfc_trans_if_1 ../../gcc/gcc/fortran/trans-stmt.c:989 0x670dea gfc_trans_if(gfc_code*) ../../gcc/gcc/fortran/trans-stmt.c:1020 0x5ff3a7 trans_code ../../gcc/gcc/fortran/trans.c:1736 0x672114 gfc_trans_simple_do ../../gcc/gcc/fortran/trans-stmt.c:1446 0x672114 gfc_trans_do(gfc_code*, tree_node*) ../../gcc/gcc/fortran/trans-stmt.c:1609 0x5ff37a trans_code ../../gcc/gcc/fortran/trans.c:1748 0x62966b gfc_generate_function_code(gfc_namespace*) ../../gcc/gcc/fortran/trans-decl.c:5765 0x600d61 gfc_generate_module_code(gfc_namespace*) ../../gcc/gcc/fortran/trans.c:1995 0x5bc031 translate_all_program_units ../../gcc/gcc/fortran/parse.c:4934 0x5bc031 gfc_parse_file() ../../gcc/gcc/fortran/parse.c:5144 0x5fa935 gfc_be_parse_file ../../gcc/gcc/fortran/f95-lang.c:212 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. [sfilippo@jacobi leak-demo]$ gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/local/gnu/4.10/libexec/gcc/x86_64-unknown-linux-gnu/4.10.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc/configure --prefix=/usr/local/gnu/4.10 --enable-languages=c,c++,fortran --with-gmp=/home/travel/GNUBUILD/gmp --with-mpfr=/home/travel/GNUBUILD/mpfr --with-mpc=/home/travel/GNUBUILD/mpc --with-cloog=/home/travel/GNUBUILD/cloog Thread model: posix gcc version 4.10.0 20140716 (experimental) (GCC) [sfilippo@jacobi leak-demo]$