[Bug fortran/31964] ishftc fails with certain thrid argument
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 16 23:51:00 GMT 2007
------- Comment #1 from kargl at gcc dot gnu dot org 2007-05-17 00:51 -------
What output were you expecting?
write(*,*) ishftc(aint,1)
write(*,*) ishftc(aint,1,32)
write(*,*) ishftc(aint,1,BIT_SIZE(aint))
All three of these statements are shifting the 32-bit representation of
of 1 to left and wrapping the 1 shifted bit around.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31964
More information about the Gcc-bugs
mailing list