OSDN Git Service

* arm.c (legitimize_pic_address): Fix sense of assertion test for
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Apr 2005 14:43:38 +0000 (14:43 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Apr 2005 14:43:38 +0000 (14:43 +0000)
creating pseudos when the base offset is too large.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98924 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/arm.c

index f1be015..aa573eb 100644 (file)
@@ -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
index 7345510..da3b74f 100644 (file)
@@ -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);
            }