diff options
author | Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> | 1998-11-22 05:59:02 +0000 |
---|---|---|
committer | Bernd Schmidt <crux@gcc.gnu.org> | 1998-11-22 05:59:02 +0000 |
commit | 3d2f8eb6b76478111b94589bce01c7a89a413c28 (patch) | |
tree | e1040a06ee6fd183a00adafc3246552d823d976b /gcc/regmove.c | |
parent | 57412d4fcc258708bf4eba4039ad8707892104c6 (diff) | |
download | gcc-3d2f8eb6b76478111b94589bce01c7a89a413c28.zip gcc-3d2f8eb6b76478111b94589bce01c7a89a413c28.tar.gz gcc-3d2f8eb6b76478111b94589bce01c7a89a413c28.tar.bz2 |
regmove.c (regmove_profitable_p): Use return value of find_matches properly.
* regmove.c (regmove_profitable_p): Use return value of find_matches
properly.
From-SVN: r23750
Diffstat (limited to 'gcc/regmove.c')
-rw-r--r-- | gcc/regmove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/regmove.c b/gcc/regmove.c index 2332360..f1353c8 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -2028,7 +2028,7 @@ regmove_profitable_p () we find a machine where this occurs and regmove should be enabled. */ break; - if (find_matches (pat, &match) >= 0) + if (find_matches (pat, &match)) return 1; break; } |