This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -fnon-call-exceptions + -fprofile-arcs on x86


Hello,

> >Now to the question: is this fixable in profile.c?
>  I don't see how, one of the two edges must be counted.  The exceptional
> edge cannot be, because there's no actual flow there.  So profile must
> add the incrementing code on the fall through edge.

using safe_insert_insn_on_edge instead of insert_insn_on_edge in
instrument_edges would be a possibility (although of course it is
useless now that the problem no longer occurs).

Zdenek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]