http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50514
Bug #: 50514
Summary: gfortran should check ISHFT & ISHFTC aruments
(r178939)
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: fortran
AssignedTo: [email protected]
ReportedBy: [email protected]
! gfortran should check ISHFT & ISHFTC aruments (r178939)
! gfortran should not accept SHIFT>BIT_SIZE(I)
print *,ishft(I=m,SHIFT=640)
print *,ishftc(I=m,SHIFT=640)
! abs(SHIFT) must be <= SIZE
print *,ishftc(I=m,SHIFT=1,SIZE=0)
end