A recent regression on CP2K for gcc version 4.6.0 20100419 (experimental) [trunk revision 158504] (GCC)
with the attached testcase and 'gfortran -c -fbounds-check': 1075.f90: In function ‘sparse_alltoall’: 1075.f90:544:0: internal compiler error: tree check: expected tree that contains ‘decl minimal’ structure, have ‘indirect_ref’ in gfc_trans_array_bound_check, at fortran/trans-array.c:2339 Please submit a full bug report, reduced testcase to be attached. -- Summary: [4.6 Regression] tree check: expected tree that contains ‘decl minimal’ structure, have ‘indirect_ref’ in gfc_trans_array_bound_check Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43793