------- Comment #4 from kargl at gcc dot gnu dot org 2010-06-10 06:31 ------- (In reply to comment #3) > The result of transfer is largest kind of decimal. Can be kind=8 or kind=16 > depending on the system. Maybe we should add some documentation in the manual > on this. Thanks Steve for pointing this out. >
Well, to be more exact, the result of transfer() has the type of its 2nd argument. In transfer(ii8,z'1000'), the BOZ may have a kind type parameter of 8 or 16 depending on the target; while the INTEGER(4) ii8 can only supply 32 bits. Note, the documentation for transfer() already describes this situation without explicitly mentioning BOZ literal constants. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44489