re PR target/60811 (arc/arc.c:2135: possible bad argument to abs)

PR target/60811
        * config/arc/arc.c (arc_save_restore): Fix assert typo.

From-SVN: r209311
This commit is contained in:
Joern Rennecke 2014-04-11 18:04:43 +00:00 committed by Joern Rennecke
parent 1b255e8f36
commit 6ace1161e6
2 changed files with 6 additions and 1 deletions

View 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.

View 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;
}