mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-22 22:30:09 +08:00
call.c (strictly_better): Make arguments unsigned ints.
* call.c (strictly_better): Make arguments unsigned ints. Fixes bug reported by Peter Seebach. From-SVN: r14909
This commit is contained in:
parent
b6ffe60242
commit
4c9e597b51
@ -1,3 +1,7 @@
|
|||||||
|
Sat Aug 23 17:47:22 1997 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
* call.c (strictly_better): Make arguments unsigned ints.
|
||||||
|
|
||||||
Thu Aug 21 18:48:44 1997 Jason Merrill <jason@yorick.cygnus.com>
|
Thu Aug 21 18:48:44 1997 Jason Merrill <jason@yorick.cygnus.com>
|
||||||
|
|
||||||
* lex.c (real_yylex): Refer to __complex instead of complex.
|
* lex.c (real_yylex): Refer to __complex instead of complex.
|
||||||
|
@ -51,7 +51,7 @@ static tree build_new_method_call PROTO((tree, tree, tree, tree, int));
|
|||||||
static int rank_for_ideal PROTO((struct candidate *,
|
static int rank_for_ideal PROTO((struct candidate *,
|
||||||
struct candidate *));
|
struct candidate *));
|
||||||
static int user_harshness PROTO((tree, tree));
|
static int user_harshness PROTO((tree, tree));
|
||||||
static int strictly_better PROTO((unsigned short, unsigned short));
|
static int strictly_better PROTO((unsigned int, unsigned int));
|
||||||
static struct candidate * ideal_candidate PROTO((struct candidate *,
|
static struct candidate * ideal_candidate PROTO((struct candidate *,
|
||||||
int, int));
|
int, int));
|
||||||
static int may_be_remote PROTO((tree));
|
static int may_be_remote PROTO((tree));
|
||||||
@ -1086,7 +1086,7 @@ compute_conversion_costs (function, tta_in, cp, arglen)
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
strictly_better (x, y)
|
strictly_better (x, y)
|
||||||
unsigned short x, y;
|
unsigned int x, y;
|
||||||
{
|
{
|
||||||
unsigned short xor;
|
unsigned short xor;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user