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 c/16840] gcc assembler crashes by small test programm with "No space left on device"


------- Additional Comments From matthias dot christian at tiscali dot de  2004-07-30 23:06 -------
test.s:
	.file	"test.c"
	.text
.globl plus
	.type	plus, @function
plus:
	pushl	%ebp
	movl	%esp, %ebp
	movl	8(%ebp), %eax
	popl	%ebp
	addl	$1, %eax
	ret
	.size	plus, .-plus
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"\n%lu\n"
	.text
.globl main
	.type	main, @function
main:
	pushl	%ebp
	movl	%esp, %ebp
	pushl	%ebx
	xorl	%ebx, %ebx
	subl	$20, %esp
	andl	$-16, %esp
	subl	$16, %esp
.L6:
	movl	%ebx, 4(%esp)
	movl	$.LC0, (%esp)
	call	printf
	leal	1(%ebx), %eax
	cmpl	$999999, %eax
	movl	%eax, %ebx
	jle	.L6
	call	clock
	movl	$.LC1, (%esp)
	movl	%eax, 4(%esp)
	call	printf
	movl	-4(%ebp), %ebx
	leave
	ret
	.size	main, .-main
	.section	.note.GNU-stack,"",@progbits
	.ident	"GCC: (GNU) 3.4.1"


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|gcc assembler crashes by    |gcc assembler crashes by
                   |small test programm with "No|small test programm with "No
                   |space left on device"       |space left on device"


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


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