Started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188526
but it was merely latent before that, so it isn't LRA bug, because it fails 
with reload equally.
I think the problem is in combine, where we have:
ax = call ...
flags = r59 != 0
r60 = flags >= 0 ? ax : r59
r65 = buf
r68 = 768
rep stosd [r65 .. r65 + r68 - 4] = 0
r59 = r60

and the combiner combines the r60 = flags >= 0 ? ax : r59 instruction with
r59 = r60 into r59 = flags >= 0 ? ax : r59 instruction in the last spot, thus 
extending the lifetime of the ax and flags hard registers across various other 
instructions.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1135633

Title:
  [linaro regression] alsa-tools FTBFS with error "unable to find a
  register to spill in class ‘AREG’"

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1135633/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to