This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/78363] [7 Regression] ICE in in force_type_die, at dwarf2out.c:24864
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Jan 2017 11:55:33 +0000
- Subject: [Bug debug/78363] [7 Regression] ICE in in force_type_die, at dwarf2out.c:24864
- Auto-submitted: auto-generated
- References: <bug-78363-4@http.gcc.gnu.org/bugzilla/>
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.