This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21639] poisoned ggc memory used for -ftree-vectorize
- From: "rakdver at atrey dot karlin dot mff dot cuni dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2005 15:06:23 -0000
- Subject: [Bug tree-optimization/21639] poisoned ggc memory used for -ftree-vectorize
- References: <20050518001348.21639.janis@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rakdver at atrey dot karlin dot mff dot cuni dot cz 2005-05-24 15:06 -------
Subject: Re: poisoned ggc memory used for -ftree-vectorize
> >there are several places in loop opts that are not GGC-safe (in
> >particular the tree nodes refered from loop structures are not
> >seen by garbage collector, and I think there are some other instances).
> >
> >So at the moment, you cannot run ggc_collect inside loop opts.
> >
> >
> Is this going to change?
>
> If not, I guess removing TODO_ggc_collect is the simpliest thing to do.
> But then please a PR on this should be opened, or this one should be
> modified appropriately, as an enhancement request for making loop
> optimizations GGC-safe.
It will need some work (most of the loop structures are mallocated at
the moment), so this might indeed be a good idea.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21639