[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

dominiq at lps dot ens dot fr gcc-bugzilla@gcc.gnu.org
Sun Nov 18 22:46:00 GMT 2007



------- Comment #8 from dominiq at lps dot ens dot fr  2007-11-18 22:46 -------
Sorry to reopen the bug, but I have a lot of failures in my tests. A reduced
case is:

integer(8) :: i
i = 1_8  
print *, cshift((/.true.,.false.,.true.,.false./),1,dim=i)
end

which fails at runtime with:

Fortran runtime error: Argument 'DIM' is out of range in call to 'CSHIFT'

As this is on PPC Darwin8, while this works on Intel Darwin9, could the problem
be related to some endian issue?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33317



More information about the Gcc-bugs mailing list