[Bug gcov-profile/34610] [4.3 regression] ICE with "-fprofile-arcs -fopenmp"

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 9 16:32:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list