Fwd: [PATCH] Fix may_alias canonical types regression
Mark Mitchell
mark@codesourcery.com
Sun Oct 12 01:56:00 GMT 2008
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
More information about the Gcc-patches
mailing list