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 optimization/11781] superfluous jumps generated


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


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