This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/11781] superfluous jumps generated
- From: "anton at a0 dot complang dot tuwien dot ac dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2003 14:44:05 -0000
- Subject: [Bug optimization/11781] superfluous jumps generated
- References: <20030803094600.11781.anton@mips.complang.tuwien.ac.at>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11781
------- Additional Comments From anton at a0 dot complang dot tuwien dot ac dot at 2003-08-03 14:44 -------
Subject: Re: superfluous jumps generated
falk at debian dot org wrote:
> About the aside: does -fno-reorder-blocks not work? It seems to work for the
> qemu project. It might also be worthwhile to try how -fno-reorder-blocks
> affects the spurious jump.
Thanks for the pointer, I had missed that.
Unfortunately, -fno-reorder-blocks seems to break -fno-crossjumping:
.L1215:
jmp *%edx
...
.L979:
movl (%edi), %edx
addl $4, %ebp
movl %edx, 636(%esp)
.L347:
#APP
#question_branch
#NO_APP
movl -4(%ebp), %edx
jmp .L1215