This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
reg_known_value and copying collection
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: gcc at gcc dot gnu dot org
- Cc: geoffk at geoffk dot org
- Date: Fri, 13 Dec 2002 11:16:08 -0500
- Subject: reg_known_value and copying collection
reg_known_value is a non-root, xcalloc'd array used in alias analysis.
It contains pointers to rtx'en, and we expect it to be available the
whole time from a call to init_alias_analysis until a call to
end_alias_analysis.
CSE ggc_collect's during this time period (IE after init, before end).
The RTX's reg_known_value has in its array move.
It gets screwed.
Should reg_known_value be changed to be ggc_alloc'd and made a root?
Anyone know of other places like this off the top of their head?
--Dan