------- Additional Comments From kazu at gcc dot gnu dot org 2005-08-19 03:11
-------
In fact, reverting Richard Earnshaw's patch
2005-08-15 Richard Earnshaw <[EMAIL PROTECTED]>
PR target/23355
* arm.c (thumb_compute_save_reg_mask): Use similar logic to
arm_compure_save_reg0_reg12_mask to determine when the PIC register
must be saved.
fixes the problem (although simply reverting the patch is probably not a
good idea because it's supposed to fix PR 23355).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23473