This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29786] [4.1/4.2/4.3 Regression] rejects equivalence
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2007 13:32:07 -0000
- Subject: [Bug fortran/29786] [4.1/4.2/4.3 Regression] rejects equivalence
- References: <bug-29786-11811@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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