------- Comment #10 from jakub at gcc dot gnu dot org 2008-01-09 15:55 -------
Actually, marking the edges as EDGE_ABNORMAL in make_edges and clearing that
flag during expand_omp_for time seems to work, so perhaps we can do it that
way. expand_omp happens before going into SSA, so this won't cause many
SSA_NAMEs are marked as SSA_NAME_OCCURS_IN_ABNORMAL_PHI because of this.
Back to the cfun flag, from what I see cfun->profile isn't useful here,
clearing it means the child function won't be profiled at all.
We want a flag which tells whether tree_profile pass already happened on a
function or not.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2008-01-08 16:26:14 |2008-01-09 15:55:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34610