https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68486
Igor Zamyatin <izamyatin at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |izamyatin at gmail dot com --- Comment #8 from Igor Zamyatin <izamyatin at gmail dot com> --- This one fails for me with -O2 Subroutine Foo () Real(4), Allocatable, Save :: tmp (:, :) Real(4), Pointer, Save :: arr (:, :, :) Integer :: l, m, n tmp = (CSHIFT(CSHIFT(arr (:,:,l),m,2),n,1)) End Subroutine Foo