------- Comment #5 from burnus at gcc dot gnu dot org 2009-10-15 08:48 -------
> The patch is fine for 64-bit architectures.
I agree and it should be applied - incl. testcase.
> On 32-bit architectures
> such as i686-*-freebsd the patch fails because there is a REAL(10)
> but no INTEGER(16).
Hmm, the question is how to solve this properly. Is the current status
"Internal Error: bad integer kind" sufficient? I am not sure I like the idea of
silent truncation.
> Truncating to INTEGER(*) would seem appealing
> except that I was specifically interested in the bits on the last
> few bytes. :(
How about TRANSFER to "integer(8), dimension(2)" ? and then printing the
result? ("= 0" the integer before the TRANSFER.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41711