[Bug fortran/95503] New: ICE in gfc_is_simply_contiguous, at fortran/expr.c:5844
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Jun 3 15:46:03 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95503
Bug ID: 95503
Summary: ICE in gfc_is_simply_contiguous, at
fortran/expr.c:5844
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Changed between 20181028 (error) and 20181104 (ICE) :
$ cat z1.f90
program p
complex, target :: a = (1.0, 2.0)
real, pointer, contiguous :: b => a%re
end
$ cat z2.f90
program p
complex, target :: a
real, pointer, contiguous :: b => a%re
end
$ gfortran-11-20200531 -c z1.f90
f951: internal compiler error: in gfc_is_simply_contiguous, at
fortran/expr.c:5844
0x65d5a2 gfc_is_simply_contiguous(gfc_expr*, bool, bool)
../../gcc/fortran/expr.c:5844
0x65e5f7 gfc_check_pointer_assign(gfc_expr*, gfc_expr*, bool, bool)
../../gcc/fortran/expr.c:4349
0x65e93d gfc_check_assign_symbol(gfc_symbol*, gfc_component*, gfc_expr*)
../../gcc/fortran/expr.c:4438
0x63d70e add_init_expr_to_sym
../../gcc/fortran/decl.c:1926
0x64762a variable_decl
../../gcc/fortran/decl.c:2990
0x64762a gfc_match_data_decl()
../../gcc/fortran/decl.c:6190
0x6aa9d3 match_word
../../gcc/fortran/parse.c:65
0x6aa9d3 decode_statement
../../gcc/fortran/parse.c:376
0x6ac41a next_free
../../gcc/fortran/parse.c:1279
0x6ac41a next_statement
../../gcc/fortran/parse.c:1511
0x6ada6b parse_spec
../../gcc/fortran/parse.c:3922
0x6b083c parse_progunit
../../gcc/fortran/parse.c:5851
0x6b1f19 gfc_parse_file()
../../gcc/fortran/parse.c:6392
0x6fdfff gfc_be_parse_file
../../gcc/fortran/f95-lang.c:210
More information about the Gcc-bugs
mailing list