[Bug debug/78363] [7 Regression] ICE in in force_type_die, at dwarf2out.c:24864

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 17 11:55:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78363

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think I'd prefer the second hunk (but it needs to go omp-expand.c instead),
guarded with if (!gimple_in_ssa_p (cfun)), so that it is really done only
early.  It should likely be done in expand_omp_target too, not sure about
grid_expand_target_grid_body, Martin?).  And for omp_cpyfn already in
omp-low.c's finalize_task_copyfn.  Perhaps best spot for the debug early hook
is close to the cgraph_node::add_new_function calls in omp*.c.


More information about the Gcc-bugs mailing list