This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/24319] [4.0/4.1/4.2/4.3 regression] amd64 register spill error with -fschedule-insns
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2007 10:32:38 -0000
- Subject: [Bug rtl-optimization/24319] [4.0/4.1/4.2/4.3 regression] amd64 register spill error with -fschedule-insns
- References: <bug-24319-11506@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from ubizjak at gmail dot com 2007-10-11 10:32 -------
(In reply to comment #3)
> int bar (char *s)
> {
> return foo (strlen(s));
> }
The testcase above fails with AREG spill failure. The testcase below fails with
DIREG spill failure:
int bar (int x, long l);
int foo (char *s)
{
return bar (1, strlen(s));
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24319