[Bug fortran/107074] New: ICE: Bad IO basetype (8)
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Sep 28 17:34:10 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107074
Bug ID: 107074
Summary: ICE: Bad IO basetype (8)
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Affects versions down to at least r5 :
(a is a procedure/function)
$ cat z1.f90
program p
implicit none
integer :: a
print *, a(1)
print *, merge(a, a, .true.)
end
$ cat z2.f90
program p
implicit none
integer :: a
print *, a()
print *, merge(a, a, .true.)
end
$ gfortran-13-20220925 -c z1.f90
f951: internal compiler error: Bad IO basetype (8)
0x7f4459 gfc_report_diagnostic
../../gcc/fortran/error.cc:883
0x7f5fd7 gfc_internal_error(char const*, ...)
../../gcc/fortran/error.cc:1503
0x9308f6 transfer_expr
../../gcc/fortran/trans-io.cc:2532
0x934b3e gfc_trans_transfer(gfc_code*)
../../gcc/fortran/trans-io.cc:2686
0x8b1cd7 trans_code
../../gcc/fortran/trans.cc:2170
0x9323d2 build_dt
../../gcc/fortran/trans-io.cc:2051
0x8b1cf7 trans_code
../../gcc/fortran/trans.cc:2142
0x8e95d9 gfc_generate_function_code(gfc_namespace*)
../../gcc/fortran/trans-decl.cc:7655
0x85afae translate_all_program_units
../../gcc/fortran/parse.cc:6671
0x85afae gfc_parse_file()
../../gcc/fortran/parse.cc:6977
0x8a925f gfc_be_parse_file
../../gcc/fortran/f95-lang.cc:229
More information about the Gcc-bugs
mailing list