On 09/16/2016 09:02 PM, Senthil Kumar Selvaraj wrote:
  Does this make sense? I ran a reg test for the avr target with a
  slightly older version of this patch, it did not show any regressions.
  If this is the right fix, I'll make sure to run reg tests on x86_64
  after backporting to a gcc version where that target used reload.

It's hard to say, and could have different effects on different targets.
One thing though, at the very least the reg_class_size test would have to be adapted - the idea is to find the largest class, and there's a risk here of ending up with a large class that only has one valid register.

You'll also want to verify this against
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54814


Bernd

Reply via email to