gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] latest regression tests


From: Gaius Mulley
Subject: Re: [Gm2] latest regression tests
Date: 06 May 2008 12:58:35 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Hi Michael,

I've added this to gm2/patches/gcc/4.1.2 and rebuilt the
latest cvs tarball (with the patch applied), many thanks.

regards,
Gaius


> o On Mac/Intel the assembler has changed from vanilla gcc 4.1.2, so
> the following patch is needed for the diffs to work (the generated
> code is fine without them):
> 
> --- gcc-4.1.2/gcc/config/i386/i386.c.sav      2006-11-17
> 02:01:22.000000000  -0500
> +++ gcc-4.1.2/gcc/config/i386/i386.c  2008-04-22 12:59:31.000000000 -0400
> @@ -16666,7 +16666,7 @@
>       {
>         fprintf (file, "\tcall LPC$%d\nLPC$%d:\tpopl %%eax\n", label,
> label);
>         fprintf (file, "\tmovl %s-LPC$%d(%%eax),%%edx\n",
> lazy_ptr_name, label);
> -      fprintf (file, "\tjmp %%edx\n");
> +      fprintf (file, "\tjmp *%%edx\n");
>       }
>     else
>       fprintf (file, "\tjmp *%s\n", lazy_ptr_name);
> 
> Since there are conditionals around the above code anyway, I think it
> should probably be put into the "official" gm2/patches/gcc/4.1.2
> directory.
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]