This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/34610] [4.3 regression] ICE with "-fprofile-arcs -fopenmp"
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2008 15:55:15 -0000
- Subject: [Bug gcov-profile/34610] [4.3 regression] ICE with "-fprofile-arcs -fopenmp"
- References: <bug-34610-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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