https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103987
Bug ID: 103987
Summary: ice in ao_ref_init_from_ptr_and_range, at
tree-ssa-alias.c:840
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 52167
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52167&action=edit
fortran source code
The attached Fortran code does this:
$ ../results/bin/gfortran -c -Ofast -std=legacy -w bug787.f 2>&1 | more
during GIMPLE pass: dse
bug787.f:401:72:
401 | END
|
^
internal compiler error: in ao_ref_init_from_ptr_and_range, at
tree-ssa-alias.c:
840
0xf5d106 ao_ref_init_from_ptr_and_range(ao_ref*, tree_node*, bool, poly_int<1u,
long>, poly_int<1u, long>, poly_int<1u, long>)
../../trunk.git/gcc/tree-ssa-alias.c:840
The bug hash existed since sometime before git hash 973f6aedeb6489a9,
dated 20211214.