[Bug middle-end/20991] [4.0 Regression] ICE in cgraph_mark_reachable_node

mark at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Sun Apr 17 21:52:00 GMT 2005


------- Additional Comments From mark at codesourcery dot com  2005-04-17 21:52 -------
Subject: Re:  [4.0 Regression] ICE in cgraph_mark_reachable_node

jakub at gcc dot gnu dot org wrote:

> some reachable function, cgraph will know about it.  The OBJ_TYPE_REF is special
> in that there is no such variable in the current translation unit
> and cp_fold_obj_type_ref just knows what is in the variable (vtable) in
> some other translation unit and optimizes that access.

So, perhaps one approach would be to have cgraph recognize the 
OBJ_TYPE_REF, and mark as reachable all things reachable from the 
vtable.  Not that this would necessarily be trivial to implement.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20991



More information about the Gcc-bugs mailing list