This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bug gcc/config/arm/arm.h
- To: egcs-bugs at cygnus dot com
- Subject: bug gcc/config/arm/arm.h
- From: grahams at rcp dot co dot uk
- Date: Tue, 23 Jun 1998 23:11:09 GMT
Hi
The macro for REG_ALLOC_ORDER is missing a
entry for hard reg # 26 (FIRST_PSEUDO_REG is 27)
This results in TWO entries for hard reg # 0 and can
result in the routine order_regs_for_reload() in reload1.c
using an index of 27 when assigning to the potential_reload_regs[]
array which is out-of-bounds (0..26)
I will send a patch to egcs-patches later.
Graham
ps. Jeff, This might have something to do with using a pseudo
register to index the reg_values[] array in reload1.c