This is the mail archive of the gcc-patches@gcc.gnu.org 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]
Other format: [Raw text]

Re: Fwd: [PATCH] Fix may_alias canonical types regression


Doug Gregor wrote:

> On Mon, Oct 6, 2008 at 12:26 PM, Mark Mitchell <mark@codesourcery.com> wrote:
>> This seems sensible.  However, I think it would be useful to measure the
>> memory footprint of GCC with this change on some big C++ code.
>> (libstdc++ or Boost++ or some such).  DECLs are big, and if we have a
>> whole lot more of them, we might be unhappy, and want to look for
>> another way to solve this.  So, would you please measure and report?
> 
> It's _TYPE nodes we'd be duplicating with this. I did a quick check
> with a reasonably large testcase from the Boost Graph Library (194k
> lines of preprocessed code, lots of system headers, templates,
> template instantiations, etc.).

I'm comforted.  The patch is OK.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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