Hi Janne,
Regtested on x86_64-pc-linux-gnu, Ok for trunk?libgfortran/ChangeLog: 2017-11-22 Janne Blomqvist<j...@gcc.gnu.org> * intrinsics/eoshift0.c (eoshift0): Make shift an index_type.
Looks good in principle. Is it possible to come up with a test case? This might not be executable on all systems, but it is still worth trying to run at least once. Regards Thomas