more equivalence to transfer conversions https://github.com/nwchemgit/nwchem/issues/224

This commit is contained in:
edoapra 2020-07-25 16:59:03 -07:00
parent b0ce505c30
commit f45ab4e569
No known key found for this signature in database
GPG key ID: 472C4EBB4F3AEDFA

View file

@ -181,11 +181,16 @@ c
c to determine the little-endian or big-endian addressing convention.
integer longw
integer*2 shortw(2)
#ifdef F77
equivalence (longw,shortw)
#endif
save longw, shortw
c
call ifill(nuw,0,u,1)
longw=1
#ifndef F77
shortw=transfer(longw,1)
#endif
if(shortw(1).eq.1)then
c ...little-endian.
do 10 i=1,((nuw+7)/8)
@ -259,11 +264,16 @@ c
c to determine the little-endian or big-endian addressing convention.
integer longw
integer*2 shortw(2)
#ifdef F77
equivalence (longw,shortw)
#endif
save longw, shortw
c
call ifill(nuw,0,u,1)
longw=1
#ifndef F77
shortw=transfer(longw,1)
#endif
if(shortw(1).eq.1)then
c ...little-endian.
do 10 i=1,((nuw+3)/4)