------- Comment #5 from pault at gcc dot gnu dot org 2007-01-14 13:32 ------- I do not seem able to fix the problem with attachments on my machine...
Following yesterday's discussion on the list, trans-common.c:445 switch (e->ts.type) { case BT_INTEGER: if (WORDS_BIG_ENDIAN) gfc_conv_mpz_to_integers (e->value.integer, &buffer[0], &buffer[1]); else gfc_conv_mpz_to_integers (e->value.integer, &buffer[1], &buffer[0]); memcpy (data, buffer, len); return; to replace the BT_INTEGER case in the attachment should do the job. It needs testing now on 64 bit machines with both endian-nesses. Brooks, I have reassigned this PR to you; I am very happy to help out/collaborate on it but I think you are right - I just do not have the time to see it through, right now. Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pault at gcc dot gnu dot org|brooks at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29786