reg_known_value and copying collection

Daniel Berlin
Fri Dec 13 08:29:00 GMT 2002

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 

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?

More information about the Gcc mailing list