Launchpad has imported 3 comments from the remote bug at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88552.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2018-12-19T16:11:10+00:00 Gscfq wrote: Without a program statement : $ cat z1.f90 integer(len((c)) :: n end $ gfortran-9-20181216 -c z1.f90 $ gfortran-9-20181216 -c z1.f90 -fimplicit-none z1.f90:1:0: 1 | integer(len((c)) :: n | internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:1120 0x78e59d gfc_typenode_for_spec(gfc_typespec*, int) ../../gcc/fortran/trans-types.c:1120 0x78c1f6 gfc_sym_type(gfc_symbol*) ../../gcc/fortran/trans-types.c:2243 0x71af9e gfc_get_symbol_decl(gfc_symbol*) ../../gcc/fortran/trans-decl.c:1696 0x71ea47 generate_local_decl ../../gcc/fortran/trans-decl.c:5600 0x6d3d12 do_traverse_symtree ../../gcc/fortran/symbol.c:4151 0x71ff9c generate_local_vars ../../gcc/fortran/trans-decl.c:5800 0x71ff9c gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6444 0x69d7c6 translate_all_program_units ../../gcc/fortran/parse.c:6128 0x69d7c6 gfc_parse_file() ../../gcc/fortran/parse.c:6331 0x6e6fcf gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204 --- Invalid syntax also silently accepted : $ cat z3.f90 integer(m::n end $ gfortran-9-20181216 -c z3.f90 $ gfortran-9-20181216 -c z3.f90 -fimplicit-none z3.f90:1:0: 1 | integer(m::n | internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:1120 #... Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-8/+bug/1842164/comments/0 ------------------------------------------------------------------------ On 2018-12-19T16:11:57+00:00 Gscfq wrote: Detected : $ cat z2.f90 program p integer(len((c)) :: n end $ cat z5.f90 implicit none integer(len((c)) :: n end $ gfortran-9-20181216 -c z2.f90 -fimplicit-none z2.f90:2:14: 2 | integer(len((c)) :: n | 1 Error: Symbol 'c' at (1) has no IMPLICIT type Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-8/+bug/1842164/comments/1 ------------------------------------------------------------------------ On 2018-12-19T16:38:48+00:00 Dominiq wrote: Confirmed from at least 4.8 up to trunk (9.0). Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-8/+bug/1842164/comments/2 ** Changed in: gcc Status: Unknown => Confirmed ** Changed in: gcc Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1842164 Title: internal compiler error: in gfc_typenode_for_spec, at fortran/trans- types.c:1157 To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1842164/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
