https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88713
--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Hm. It would help if your benchmark was complete, so I could run it. However, what happens if you put int real, dimension(:) :: Uix real, dimension(:), intent(in) :: x real, dimension(:), intent(in) :: S ? gfortran should not pack then.