This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/54369] Delayed-branch pass in reorg.c removes too many instructions
- From: "chaoyingfu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 31 Aug 2012 00:38:39 +0000
- Subject: [Bug rtl-optimization/54369] Delayed-branch pass in reorg.c removes too many instructions
- Auto-submitted: auto-generated
- References: <bug-54369-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369
--- Comment #3 from chaoyingfu at gcc dot gnu.org <chaoyingfu at gcc dot gnu.org> 2012-08-31 00:38:39 UTC ---
The fall-through path of this jump has a barrier (resulted from
__builtin_unreachable), and the target of this jump has a return instruction.
The algorithm in reorg.c may be more conservative to keep this jump for code
correctness. Just another solution to this issue. Thanks!