This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Prevent garbage collection during c++ parsing
> > Which current testcase does this fix? Or will you add a new testcase?
>
> it fixes ICE during compilation of dvd+rw. Creating a testcase from
> this would not be useful, since it is of course very sensitive on how
> much memory is allocated (i.e. if the garbage collection will be
> triggered).
> Zdenek
It's often possible to create a reduced testcase by utilizing the
following arguments that cause GCC to always collect:
--param ggc-min-expand=0 --param ggc-min-heapsize=0
See the testcase g++.dg/other/gc2.C as an example.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu