Re: [PATCH] regmove: Fix segfault when accessing call_used_regs

2011-12-13 Thread Richard Sandiford
"Andreas Krebbel" writes: > Ok for mainline, 4.6, 4.5, and 4.4? OK everywhere, but (sorry to be picky)... > Index: gcc/regmove.c > === > *** gcc/regmove.c.orig > --- gcc/regmove.c > *** fixup_match_2 (rtx insn, rtx dst,

[PATCH] regmove: Fix segfault when accessing call_used_regs

2011-12-13 Thread Andreas Krebbel
Hi, a very high pseudo register number is needed here to actually cause a segfault. I observed it on s390 with a high value in max-completely-peeled-insns when compiling the href benchmark on s390. Ok for mainline, 4.6, 4.5, and 4.4? Bye, -Andreas- 2011-12-13 Andreas Krebbel * r