Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/matmul_11.f90 @ 144:8f4e72ab4e11
fix segmentation fault caused by nothing next cur_op to end
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 21:23:56 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-ffrontend-optimize -fdump-tree-original" } ! PR 77915 - ICE of matmul with forall. program x integer, parameter :: d = 3 real,dimension(d,d,d) :: cube,xcube real, dimension(d,d) :: cmatrix integer :: i,j forall(i=1:d,j=1:d) xcube(i,j,:) = matmul(cmatrix,cube(i,j,:)) end forall end program x ! { dg-final { scan-tree-dump-times "_gfortran_matmul" 1 "original" } }