PATCH [alternative] to fix mingw bootstrap failure

Andrew Pinski pinskia@physics.uc.edu
Sun May 30 11:33:00 GMT 2004


On May 29, 2004, at 20:03, Per Bothner wrote:

> Per Bothner wrote:
>
>> I notice other targets (rs6000, arm, pa, possibly others)
>> instead modify the SYMBOL_REF in place, smashing in a new name.
>> That may be a better solution.  If that is the recommended
>> approach (which seems plausible), I'll try that instead.
>
> This alternative patch uses the smash-name-in-place approach.
> It seems to work on my simple testcase at least
>
> I don't know any convenient way to test this, except to do
> a mingw build (using Mohan's scripts).  Assuming this works,
> is this OK to check in?  Perhaps someone else can test this
> patch for their winnt target setup?
> -- 

I will note that the Darwin's back-end which I fixed does the
create new SYMBOL_REF technique and not smash into place.  I
think it does this way as they can reference the original
SYMBOL_REF still.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list