re PR target/60811 (arc/arc.c:2135: possible bad argument to abs)
authorJoern Rennecke <joern.rennecke@embecosm.com>
Fri, 11 Apr 2014 18:04:43 +0000 (18:04 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Fri, 11 Apr 2014 18:04:43 +0000 (19:04 +0100)
        PR target/60811
        * config/arc/arc.c (arc_save_restore): Fix assert typo.

From-SVN: r209311

gcc/ChangeLog
gcc/config/arc/arc.c

index 27a00dd..6d99d17 100644 (file)
@@ -1,3 +1,8 @@
+2014-01-11  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       PR target/60811
+       * config/arc/arc.c (arc_save_restore): Fix assert typo.
+
 2013-04-11  Jakub Jelinek  <jakub@redhat.com>
 
        * BASE-VER: Set to 4.10.0.
index 0eaabed..604a2ec 100644 (file)
@@ -2132,7 +2132,7 @@ arc_save_restore (rtx base_reg,
          if (*first_offset)
            {
              /* "reg_size" won't be more than 127 .  */
-             gcc_assert (epilogue_p || abs (*first_offset <= 127));
+             gcc_assert (epilogue_p || abs (*first_offset) <= 127);
              frame_add (base_reg, *first_offset);
              *first_offset = 0;
            }