This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20991] [4.0 Regression] ICE in cgraph_mark_reachable_node
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Apr 2005 21:52:18 -0000
- Subject: [Bug middle-end/20991] [4.0 Regression] ICE in cgraph_mark_reachable_node
- References: <20050413132503.20991.jakub@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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