This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

re: Small GC tweak (breaks my compiler)

Re the patch below. Is there any other way to GC storage that may
or may not be GC-able. Otherwise I am up for several hours work
on my COBOl compiler, without this feature. 

Tim Josling

small GC tweak

     To: gcc-patches at gcc dot gnu dot org 
     Subject: small GC tweak 
     From: "Zack Weinberg" <zackw at stanford dot edu> 
     Date: Tue, 16 Jan 2001 08:35:28 -0800 

When I was removing strings from the GC arena I missed one place
we try to mark strings, because it was using ggc_mark_if_gcable
instead of ggc_mark_string.  This patch eliminates that place. 
that was the only user of ggc_mark_if_gcable, I've eliminated
routine as well.

This should be a small performance improvement.  However I do not
numbers (and the compiler seems to be getting slower, overall,

Bootstrapped i686-linux; ok to apply?  (after the branch?)


        * ggc-common.c (ggc_mark_rtx_children): No need to mark
'S' or
        's' slots in RTXen.
        * ggc-page.c, ggc-simple.c (ggc_mark_if_gcable): Delete
        * ggc.h (ggc_mark_if_gcable): Delete prototype.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]