[Bug rtl-optimization/24319] [4.0/4.1/4.2/4.3 regression] amd64 register spill error with -fschedule-insns

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Oct 11 10:32:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list