array, also add it to the call_used_regs array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89818
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-10-29 Nick Clifton <nickc@redhat.com>
+
+ config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): When
+ adding the PIC register to the fixed_regs array, also add it
+ to the call_used_regs array.
+
2004-10-29 Eric Botcazou <ebotcazou@libertysurf.fr>
* gthr-posix.h (__gthread_recursive_mutex_init_function): Guard
fixed_regs[i] = call_used_regs[i] = 1; \
} \
if (flag_pic) \
- fixed_regs[PIC_OFFSET_TABLE_REGNUM] = 1; \
+ fixed_regs[PIC_OFFSET_TABLE_REGNUM] = \
+ call_used_regs[PIC_OFFSET_TABLE_REGNUM] = 1;\
}
/* Return number of consecutive hard regs needed starting at reg REGNO