This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/9085] Unable to find register to spill when optimizing
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Oct 2009 20:51:24 -0000
- Subject: [Bug rtl-optimization/9085] Unable to find register to spill when optimizing
- References: <bug-9085-3579@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from ubizjak at gmail dot com 2009-10-01 20:51 -------
None of the testcases fail anymore with GCC: (GNU) 4.5.0 20091001
(experimental) [trunk revision 152374].
The testcase from #7 produces:
foo:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl %eax, %ecx
movl 8(%ebp), %eax
movl $3, %edx
movl %edx, %ebx
cltd
idivl %ebx
movl %edx, (%ecx)
popl %ebx
leave
ret
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9085