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]

Critical edge splitting inconsistency


Hi,
while looking into unrelated problem on tree-profiling branch I noticed
that we currently split critical edges before PRE and then cleanup_cfg
iff PRE appears to modify CFG.  This means that sometimes we keep the
edges split after pre pass but sometimes we don't.  This just looks
inconsistent as someone might jump into assumption that edges are always
split in the later pass (or into reversed one).
Would be possible to take care of this somehow?  Perhaps the critical
edge spliteness can be made a property of CFG for the pass manager?

Honza


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