The following patch fixes a bad code generation for avx512f-kandnw-1.c reported in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64342 The patch was bootstrapped and tested on x86-64. Committed as rev. 221223. 2015-03-05 Vladimir Makarov PR target/64342 * lra-assigns.c (find_hard_regno_for): Rename to find_hard_regno_for_1. Add a new parameter. (find_hard_regno_for): New function using find_hard_regno_for_1.