From: Bernd Schmidt Date: Sun, 22 Nov 1998 05:59:02 +0000 (+0000) Subject: regmove.c (regmove_profitable_p): Use return value of find_matches properly. X-Git-Tag: prereleases/libgcj-0.1~1982 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d2f8eb6b76478111b94589bce01c7a89a413c28;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4102a4e0d34a..9c60e92abf03 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sun Nov 22 13:40:02 1998 Bernd Schmidt + + * regmove.c (regmove_profitable_p): Use return value of find_matches + properly. + Sun Nov 22 02:47:37 PST 1998 Jeff Law (law@cygnus.com) * version.c: Bump for snapshot. diff --git a/gcc/regmove.c b/gcc/regmove.c index 2332360feaea..f1353c8cedea 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; }