This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/23547] [4.1 regression] [non-unit-at-a-time] ICE with recursive call to nested function
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Aug 2005 03:12:59 -0000
- Subject: [Bug middle-end/23547] [4.1 regression] [non-unit-at-a-time] ICE with recursive call to nested function
- References: <20050824161308.23547.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-28 03:12 -------
The problem is that nesting_info is not marked as GTY and we call cgraph_finalize_function which
lowers the function which calls ggc_collect. I think marking nesting_info (and root) as GTY will fix the
problem. I will look into a patch.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23547