https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66435
Bug ID: 66435
Summary: Add debug msg to dump_file in add_new_function
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
When a new function is created by spitting off some code from an existing
function in ompexpand, we get no message about it in the dump file:
...
;; Function main0 (main0, funcdef_no=11, decl_uid=2342, cgraph_uid=11,
symbol_order=11)
Pass statistics:
----------------
OMP region tree
bb 2: gimple_omp_parallel
bb 3: gimple_omp_for
bb 4: GIMPLE_OMP_CONTINUE
bb 5: GIMPLE_OMP_RETURN
bb 6: GIMPLE_OMP_RETURN
Applying pattern match.pd:114, generic-match.c:7303
Applying pattern match.pd:49, generic-match.c:3223
Applying pattern match.pd:114, generic-match.c:7303
Applying pattern match.pd:49, generic-match.c:3223
Introduced new external node (__builtin_omp_get_num_threads/13).
Introduced new external node (__builtin_omp_get_thread_num/14).
Merging blocks 2 and 12
Merging blocks 2 and 7
fix_loop_structure: fixing up loops for function
...