summaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-16 01:03:54 -0800
committerYamaArashi <shadow962@live.com>2016-02-16 01:03:54 -0800
commitecae31d652106c1f3b7429570de013c3bbf33e7a (patch)
tree6981957216b10aad71c792714a25c5750611754e /gcc/fold-const.c
parent9382e1a90b218b4b93bf53c01ef163925cf224dc (diff)
get rid of PROTO macros
Diffstat (limited to 'gcc/fold-const.c')
-rwxr-xr-xgcc/fold-const.c80
1 files changed, 40 insertions, 40 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 07611bd..2f954c5 100755
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -53,52 +53,52 @@ Boston, MA 02111-1307, USA. */
/* Handle floating overflow for `const_binop'. */
static jmp_buf float_error;
-static void encode PROTO((HOST_WIDE_INT *,
- HOST_WIDE_INT, HOST_WIDE_INT));
-static void decode PROTO((HOST_WIDE_INT *,
- HOST_WIDE_INT *, HOST_WIDE_INT *));
-int div_and_round_double PROTO((enum tree_code, int, HOST_WIDE_INT,
+static void encode (HOST_WIDE_INT *,
+ HOST_WIDE_INT, HOST_WIDE_INT);
+static void decode (HOST_WIDE_INT *,
+ HOST_WIDE_INT *, HOST_WIDE_INT *);
+int div_and_round_double (enum tree_code, int, HOST_WIDE_INT,
HOST_WIDE_INT, HOST_WIDE_INT,
HOST_WIDE_INT, HOST_WIDE_INT *,
HOST_WIDE_INT *, HOST_WIDE_INT *,
- HOST_WIDE_INT *));
-static int split_tree PROTO((tree, enum tree_code, tree *,
- tree *, int *));
-static tree int_const_binop PROTO((enum tree_code, tree, tree, int, int));
-static tree const_binop PROTO((enum tree_code, tree, tree, int));
-static tree fold_convert PROTO((tree, tree));
-static enum tree_code invert_tree_comparison PROTO((enum tree_code));
-static enum tree_code swap_tree_comparison PROTO((enum tree_code));
-static int truth_value_p PROTO((enum tree_code));
-static int operand_equal_for_comparison_p PROTO((tree, tree, tree));
-static int twoval_comparison_p PROTO((tree, tree *, tree *, int *));
-static tree eval_subst PROTO((tree, tree, tree, tree, tree));
-static tree omit_one_operand PROTO((tree, tree, tree));
-static tree pedantic_omit_one_operand PROTO((tree, tree, tree));
-static tree distribute_bit_expr PROTO((enum tree_code, tree, tree, tree));
-static tree make_bit_field_ref PROTO((tree, tree, int, int, int));
-static tree optimize_bit_field_compare PROTO((enum tree_code, tree,
- tree, tree));
-static tree decode_field_reference PROTO((tree, int *, int *,
+ HOST_WIDE_INT *);
+static int split_tree (tree, enum tree_code, tree *,
+ tree *, int *);
+static tree int_const_binop (enum tree_code, tree, tree, int, int);
+static tree const_binop (enum tree_code, tree, tree, int);
+static tree fold_convert (tree, tree);
+static enum tree_code invert_tree_comparison (enum tree_code);
+static enum tree_code swap_tree_comparison (enum tree_code);
+static int truth_value_p (enum tree_code);
+static int operand_equal_for_comparison_p (tree, tree, tree);
+static int twoval_comparison_p (tree, tree *, tree *, int *);
+static tree eval_subst (tree, tree, tree, tree, tree);
+static tree omit_one_operand (tree, tree, tree);
+static tree pedantic_omit_one_operand (tree, tree, tree);
+static tree distribute_bit_expr (enum tree_code, tree, tree, tree);
+static tree make_bit_field_ref (tree, tree, int, int, int);
+static tree optimize_bit_field_compare (enum tree_code, tree,
+ tree, tree);
+static tree decode_field_reference (tree, int *, int *,
enum machine_mode *, int *,
- int *, tree *, tree *));
-static int all_ones_mask_p PROTO((tree, int));
-static int simple_operand_p PROTO((tree));
+ int *, tree *, tree *);
+static int all_ones_mask_p (tree, int);
+static int simple_operand_p (tree);
/* CYGNUS LOCAL -- meissner/nortel */
-static int simple2_operand_p PROTO((tree, int));
+static int simple2_operand_p (tree, int);
/* END CYGNUS LOCAL -- meissner/nortel */
-static tree range_binop PROTO((enum tree_code, tree, tree, int,
- tree, int));
-static tree make_range PROTO((tree, int *, tree *, tree *));
-static tree build_range_check PROTO((tree, tree, int, tree, tree));
-static int merge_ranges PROTO((int *, tree *, tree *, int, tree, tree,
- int, tree, tree));
-static tree fold_range_test PROTO((tree));
-static tree unextend PROTO((tree, int, int, tree));
-static tree fold_truthop PROTO((enum tree_code, tree, tree, tree));
-static tree strip_compound_expr PROTO((tree, tree));
-static int multiple_of_p PROTO((tree, tree, tree));
-static tree constant_boolean_node PROTO((int, tree));
+static tree range_binop (enum tree_code, tree, tree, int,
+ tree, int);
+static tree make_range (tree, int *, tree *, tree *);
+static tree build_range_check (tree, tree, int, tree, tree);
+static int merge_ranges (int *, tree *, tree *, int, tree, tree,
+ int, tree, tree);
+static tree fold_range_test (tree);
+static tree unextend (tree, int, int, tree);
+static tree fold_truthop (enum tree_code, tree, tree, tree);
+static tree strip_compound_expr (tree, tree);
+static int multiple_of_p (tree, tree, tree);
+static tree constant_boolean_node (int, tree);
#ifndef BRANCH_COST
#define BRANCH_COST 1