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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org 2011-09-25 22:05:14 UTC ---
Technically, it the programmer that should check the arguments.
The prohibitions in the Fortran Standard are placed on the
programmer not the Fortran processor (ie., the compiler).

Adding the check into

do i = 1,1000000
   do j = 1, 1000000
      do k = 1, 1000000
         ! Some stuff here to compute k and n < bit_size(k)
         m = ishft(k,n)  ! for some k, n
         ! More stuff here to use m
      end do
   end do
end do

seems like useless overhead.

Reply via email to