Commit c4db6655 by Richard Earnshaw Committed by Richard Earnshaw

arm.c (legitimize_pic_address): Fix sense of assertion test for creating pseudos…

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
parent 60550c0c
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment