This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/55018] [4.6/4.7/4.8 Regression] CDDCE pass is too aggressive sometimes with infinite loops and with some functions


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55018

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-22 14:30:42 UTC ---
Yeah, I think this is a CDDCE bug, in particular incorrect assumption about
post-dominators in presence of infinite loops.
The problem is that with infinite loops, worst case all basic blocks on a path
from a conditional to an infinite loop that is control dependent on the
conditional can have fake edge to exit and therefore find_control_dependence
stops on those.


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