https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66100
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-05-11 CC| |mikael at gcc dot gnu.org Target Milestone|--- |6.0 Summary|[6.0 Regression] Matmul ICE |[6.0 Regression] ICE in |in simplify_bound |simplify_bound Ever confirmed|0 |1 --- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- This is independent of matmul: MODULE qs_integrate_potential_low INTEGER, PARAMETER :: dp = 8 TYPE cell_type REAL(KIND=8) :: h_inv(3,3) END TYPE TYPE(cell_type), POINTER :: cell REAL(KIND=dp), DIMENSION(3) :: rp CONTAINS SUBROUTINE integrate_general_opt() REAL(KIND=dp) :: gp(3) INTEGER :: ng print *,lbound(cell%h_inv) END SUBROUTINE integrate_general_opt END MODULE qs_integrate_potential_low This is an assert introduced in r222979. Removing the assert makes the code work, at least superficially (it will print out 1,1). Mikael?