[patch 3.3/3.4/3.5] Fix PR bootstrap/14671
Mark Mitchell
mark@codesourcery.com
Wed Apr 21 19:07:00 GMT 2004
John David Anglin wrote:
>>On Apr 19, 2004, at 15:57, John David Anglin wrote:
>>
>>
>>>The good news is that Richard's patch fixes the problem. The bad
>>>news is that the patch uses ggc_free which isn't in 3.3 and 3.4.
>>>Implementing ggc_free looks like it would require back porting
>>>3 or 4 more patches.
>>>
>>>
>>Even better news is that ggc_free is really not need at all, it
>>is an optimization. You should be able to replace the call to
>>ggc_free with set that variable to NULL and have it work.
>>
>>
>
>Enclosed is a backport of Richard's patch to 3.4. The only functional
>difference is the removal of the ggc_free call from end_alias_analysis.
>I believe that this just defers garbage collection of reg_known_value.
>
>I've tested the patch on hppa64-hp-hpux11.00 and hppa-unknown-linux-gnu
>with no regressions.
>
>Ok for 3.4?
>
>
Yes, this is OK.
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com
More information about the Gcc-patches
mailing list