On 03/14/2016 03:32 PM, Jakub Jelinek wrote:
Hi!
The newly added assert in delete_move_and_clobber requires dregno > 0,
but dregno == 0 is also normal (e.g. in the testcase below we get dregno ==
0, because it uses %rax). Only dregno < 0 is special and we shouldn't see
it here.
Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
2016-03-14 Jakub Jelinek <ja...@redhat.com>
PR middle-end/70219
* lra-constraints.c (delete_move_and_clobber): Change assertion
to also allow dregno == 0.
* gcc.dg/pr70219.c: New test.
OK.
Jeff