[Bug fortran/102685] New: [12 Regression] ICE in output_constructor_regular_field, at varasm.c:5514
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Oct 11 17:06:14 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102685
Bug ID: 102685
Summary: [12 Regression] ICE in
output_constructor_regular_field, at varasm.c:5514
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Changed _recently_ between 20211003 and 20211010 :
$ cat z1.f90
program p
type t
integer :: a(1)
end type
type(t), parameter :: x(2) = t([1,2])
print *, x
end
$ gfortran-12-20211003 -c z1.f90
$
$ gfortran-12-20211010 -c z1.f90
z1.f90:7:3:
7 | end
| ^
internal compiler error: in output_constructor_regular_field, at varasm.c:5514
0x10131f4 output_constructor_regular_field
../../gcc/varasm.c:5514
0x10131f4 output_constructor
../../gcc/varasm.c:5826
0x101353f output_constant
../../gcc/varasm.c:5172
0x101353f assemble_variable_contents
../../gcc/varasm.c:2235
0x101b31d assemble_variable(tree_node*, int, int, int)
../../gcc/varasm.c:2414
0x101d61a varpool_node::assemble_decl()
../../gcc/varpool.c:595
0x953def output_in_order
../../gcc/cgraphunit.c:2135
0x953def symbol_table::compile()
../../gcc/cgraphunit.c:2353
0x95670f symbol_table::compile()
../../gcc/cgraphunit.c:2540
0x95670f symbol_table::finalize_compilation_unit()
../../gcc/cgraphunit.c:2537
More information about the Gcc-bugs
mailing list