[Bug fortran/50514] New: gfortran should check ISHFT & ISHFTC aruments (r178939)
zeccav at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Sep 25 20:07:00 GMT 2011
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: unassigned@gcc.gnu.org
ReportedBy: zeccav@gmail.com
! 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
More information about the Gcc-bugs
mailing list