$ cat cshift-i12.f90 program main integer, dimension(2) :: n=(/ 1, 2 /) print *,cshift(n,1_1) print *,cshift(n,1_2) end program main $ gfortran cshift-i12.f90 /tmp/cc0eL77r.o(.text+0xaf): In function `MAIN__': : undefined reference to `_gfortran_cshift0_1' /tmp/cc0eL77r.o(.text+0x19b): In function `MAIN__': : undefined reference to `_gfortran_cshift0_2' collect2: ld returned 1 exit status $ gfortran -v Reading specs from /home/ig25/lib/gcc/i686-pc-linux-gnu/4.0.0/specs Configured with: ../gcc/configure --prefix=/home/ig25 --enable-languages=c,c++,f95 Thread model: posix gcc version 4.0.0 20041213 (experimental)
-- Summary: cshift etc. not implemented for kind=1 and kind=2 actual arguments Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Thomas dot Koenig at online dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18966