]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm.c (offset_ok_for_ldrd_strd): Return false for Thumb1.
authorGreta Yorsh <greta.yorsh@arm.com>
Tue, 23 Oct 2012 16:23:49 +0000 (17:23 +0100)
committerGreta Yorsh <gretay@gcc.gnu.org>
Tue, 23 Oct 2012 16:23:49 +0000 (17:23 +0100)
gcc/

2012-10-23  Greta Yorsh  <Greta.Yorsh@arm.com>

* config/arm/arm.c (offset_ok_for_ldrd_strd): Return false for
Thumb1.

From-SVN: r192720

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

index 049321a91899f6dedd306ec72df00c8b476ecc5f..b830bb1399ae39a110ca8a94ff6a605b4aa78251 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-23  Greta Yorsh  <Greta.Yorsh@arm.com>
+
+       * config/arm/arm.c (offset_ok_for_ldrd_strd): Return false for
+       Thumb1.
+
 2012-10-23  Vladimir Makarov  <vmakarov@redhat.com>
 
        * dbxout.c (dbxout_symbol_location): Pass new argument to
index b7bec6e0cc4341c8291a3bb545b7d229e8c0547b..f802507d638451d05094f7ba95995a147bc238ba 100644 (file)
@@ -12209,7 +12209,7 @@ offset_ok_for_ldrd_strd (HOST_WIDE_INT offset)
   else if (TARGET_ARM)
     max_offset = 255;
   else
-    gcc_unreachable ();
+    return false;
 
   return ((offset <= max_offset) && (offset >= -max_offset));
 }