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/15993] [lno] Compiler hangs at -O3


------- Additional Comments From rakdver at gcc dot gnu dot org  2004-06-15 21:10 -------
This is OK -- unswitching does not really remove any code (since that might 
change the structure of loops); the code unreachable due to if (0) is removed
by cfg cleanup at the end of loop optimization passes.

We should do the removal sooner so that other loop optimizations may benefit
more from the unswitching, but handling the cfg changes is not really trivial 
(we do this in some simpler cases on rtl level, and I have constant nightmares
about what I will do once some bug in that code is found, since it would be 
pretty hard to learn again what the code does :-).

-- 


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


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