diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-02-13 08:13:14 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-02-13 08:13:14 -0500 |
commit | 9f6de2b92db75e90a8a2c56d0bc9b5ee96cfbb05 (patch) | |
tree | e6ff3d2b2a83d50781d6175f2151f540ca0e065c | |
parent | ac02eb622c2c5e68eee6f176f78b6ea15a1b0e0d (diff) | |
download | gcc-9f6de2b92db75e90a8a2c56d0bc9b5ee96cfbb05.zip gcc-9f6de2b92db75e90a8a2c56d0bc9b5ee96cfbb05.tar.gz gcc-9f6de2b92db75e90a8a2c56d0bc9b5ee96cfbb05.tar.bz2 |
(quality_type prototype): Typo, rename as qualify_type.
(build_binary_op): Fix precedence error.
From-SVN: r11250
-rw-r--r-- | gcc/c-typeck.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 5144d34..b53da18 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -42,7 +42,7 @@ static int missing_braces_mentioned; extern char *index (); extern char *rindex (); -static tree quality_type PROTO((tree, tree)); +static tree qualify_type PROTO((tree, tree)); static int comp_target_types PROTO((tree, tree)); static int function_types_compatible_p PROTO((tree, tree)); static int type_lists_compatible_p PROTO((tree, tree)); @@ -2481,9 +2481,9 @@ build_binary_op (code, orig_op0, orig_op1, convert_p) not use the most significant bit of result_type. */ else if ((resultcode == EQ_EXPR || resultcode == NE_EXPR) && ((op0_signed && TREE_CODE (xop1) == INTEGER_CST - && int_fits_type_p (xop1, signed_type (result_type)) + && int_fits_type_p (xop1, signed_type (result_type))) || (op1_signed && TREE_CODE (xop0) == INTEGER_CST - && int_fits_type_p (xop0, signed_type (result_type)))))) + && int_fits_type_p (xop0, signed_type (result_type))))) /* OK */; else warning ("comparison between signed and unsigned"); |