This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15993] [lno] Compiler hangs at -O3
- From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2004 21:10:41 -0000
- Subject: [Bug tree-optimization/15993] [lno] Compiler hangs at -O3
- References: <20040615012849.15993.dalej@apple.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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