http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48462
--- Comment #2 from Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> 2011-04-05 15:40:41 UTC --- somewhat reduced: program main implicit none integer, parameter :: dp = kind(0.0d0) real(kind=dp), allocatable :: a(:,:) real(kind=dp), allocatable :: b(:,:) allocate(a(3,3)) allocate(b(3,3)) a = matmul( matmul( a, b ), b ) ! Segmentation Fault end program main