arm.c (legitimize_pic_address): Fix sense of assertion test for creating pseudos when the base offset is too large.
* arm.c (legitimize_pic_address): Fix sense of assertion test for creating pseudos when the base offset is too large. From-SVN: r98924
This commit is contained in:
parent
60550c0c62
commit
c4db6655d6
@ -1,3 +1,8 @@
|
||||
2005-04-28 Richard Earnshaw <richard.earnshaw@arm.com>
|
||||
|
||||
* arm.c (legitimize_pic_address): Fix sense of assertion test for
|
||||
creating pseudos when the base offset is too large.
|
||||
|
||||
2005-04-28 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* global.c (earlyclobber_regclass): Change the type to
|
||||
|
@ -3094,7 +3094,7 @@ legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg)
|
||||
test the index for the appropriate mode. */
|
||||
if (!arm_legitimate_index_p (mode, offset, SET, 0))
|
||||
{
|
||||
gcc_assert (no_new_pseudos);
|
||||
gcc_assert (!no_new_pseudos);
|
||||
offset = force_reg (Pmode, offset);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user