|
|
Author: aldyh
Date: Mon Jul 14 19:37:20 2008
New Revision: 137794
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137794
Log:
* tree-dump.c (dequeue_and_dump): Remove GIMPLE_MODIFY_STMT case.
* tree-ssa-loop-niter.c (simplify_replace_tree): Remove GIMPLE_STMT_P
call.
* tree-pretty-print.c (dump_generic_node): Remove any references to
GIMPLE_MODIFY_STMT, GIMPLE_STMT_P, GIMPLE_TUPLE_P.
(op_prio): Same.
(op_symbol_code): Same.
* java/java-gimplify.c (java_gimplify_expr): Same.
(java_gimplify_modify_expr): Same.
* java/java-tree.h: Rename GENERIC_NEXT to TREE_CHAIN.
* tree-tailcall.c (find_tail_calls): Update comment.
* tree.c (tree_code_class_string): Remove "gimple_stmt".
(tree_node_kind): Remove "gimple statments".
(tree_code_size): Remove tcc_gimple_stmt.
(make_node_stat): Same.
(copy_node_stat): Remove any references to
GIMPLE_MODIFY_STMT, GIMPLE_STMT_P, GIMPLE_TUPLE_P, tcc_gimple_stmt,
TS_GIMPLE_STATEMENT, GENERIC_TREE_OPERAND, GENERIC_TREE_TYPE,
GIMPLE_TUPLE_HAS_LOCUS_P, GIMPLE_STMT_LOCUS, GIMPLE_STMT_BLOCK,
IS_GIMPLE_STMT_CODE_CLASS, GIMPLE_STMT_BLOCK.
(expr_align): Same.
(tree_node_structure): Same.
(build2_stat): Same.
(set_expr_locus): Same.
(walk_tree_1): Same.
(tree_block): Same.
(build_gimple_modify_stmt_stat): Remove.
(expr_location): Remove.
(set_expr_location): Remove.
(expr_hash_location): Remove.
(expr_locus): Remove.
(expr_filename): Remove.
(expr_lineno): Remove.
(generic_tree_operand): Remove.
(generic_tree_type): Remove.
* tree.h (tree_code_class): Remove tcc_gimple_stmt.
(IS_GIMPLE_STMT_CODE_CLASS): Remove.
(struct gimple_stmt): Remove.
(GIMPLE_STMT_CHECK): Remove.
(TREE_OPERAND_CHECK): Remove GIMPLE_TUPLE_P.
(TREE_CHAIN): Same.
(GIMPLE_STMT_OPERAND_CHECK): Remove.
(GIMPLE_STMT_OPERAND_CHECK): Remove.
(GIMPLE_STMT_P): Remove.
(GIMPLE_TUPLE_P): Remove.
(GIMPLE_TUPLE_HAS_LOCUS_P): Remove.
(GENERIC_TREE_OPERAND): Remove.
(GENERIC_TREE_TYPE): Remove.
(GENERIC_NEXT): Remove.
(IS_CONVERT_EXPR_CODE_P): Rename GENERIC_TREE_TYPE to TREE_TYPE.
(MOVE_NONTEMPORAL): Remove GIMPLE_MODIFY_STMT_CHECK.
Remove GIMPLE_STMT_OPERAND, GIMPLE_STMT_LOCUS, GIMPLE_STMT_BLOCK.
(EXPR_LOCATION, SET_EXPR_LOCATION, EXPR_HAS_LOCATION, EXPR_LOCUS,
EXPR_FILENAME, EXPR_LINENO): Do ont call functions.
(CAN_HAVE_LOCATION_P): Remove GIMPLE_STMT_P.
(union tree_node): Remove gstmt.
(build_gimple_modify_stmt*): Remove.
(expr_location, set_expr_location, expr_has_location,
expr_locus, expr_filename, expr_lineno, generic_tree_operand,
generic_tree_type): Remove.
* tree-scalar-evolution.c (follow_ssa_edge): Update comment.
(interpret_condition_phi): Same.
* gimple.h (gimplify_assign): New.
* builtins.c, fold-const.c, omp-low.c, tree-ssa-dse.c, tree-gimple.c,
tree-ssa-math-opts.c, tree-nrv.c, gimple-low.c, dwarf2out.c,
expr.c, tree-parloops.c, matrix-reorg.c, c-decl.c, tree-eh.c,
c-pretty-print.c, langhooks.c, function.c, tree-affine.c,
gimplify.c, tree.def, cfgexpand.c, tree-predcom.c, print-tree.c,
tree-ssa-ter.c, tree-ssa.c, tree-inline.c, gimple.c, gimple.h,
tree-cfg.c, config/i386/i386.c, stmt.c, tree-ssa-operands.c)
Remove any references to
GIMPLE_MODIFY_STMT, GIMPLE_STMT_P, GIMPLE_TUPLE_P, tcc_gimple_stmt,
TS_GIMPLE_STATEMENT, GENERIC_TREE_OPERAND, GENERIC_TREE_TYPE,
GIMPLE_TUPLE_HAS_LOCUS_P, GIMPLE_STMT_LOCUS, GIMPLE_STMT_BLOCK,
IS_GIMPLE_STMT_CODE_CLASS, GIMPLE_STMT_BLOCK.
Call gimplify_assign or generate a GIMPLE_ASSIGN directly when
appropriate.
* cp/cp-tree.h (union lang_tree_node): Rename GENERIC_NEXT to
TREE_CHAIN.
* cp/cp-gimplify.c (cxx_omp_clause_apply_fn): Rename
GIMPLE_MODIFY_STMT to MODIFY_EXPR.
(cxx_omp_clause_copy_ctor): Same.
(cxx_omp_clause_assign_op): Same.
* fortran/trans-array.h (gfc_conv_descriptor_data_set_internal):
Rename to gfc_conv_descriptor_data_set.
(gfc_conv_descriptor_data_set_tuples): Remove.
* fortran/trans-array.c (gfc_conv_descriptor_data_get): Rename
from gfc_conv_descriptor_data_set_internal.
Remove last argument to gfc_add_modify.
(gfc_trans_allocate_array_storage): Rename gfc_add_modify_expr to
gfc_add_modify.
(gfc_trans_create_temp_array): Same.
(gfc_conv_array_transpose): Same.
(gfc_grow_array): Same.
(gfc_put_offset_into_var): Same.
(gfc_trans_array_ctor_element): Same.
(gfc_trans_array_constructor_subarray): Same.
(gfc_trans_array_constructor_value): Same.
(gfc_trans_scalarized_loop_end): Same.
(gfc_array_init_size): Same.
(gfc_array_allocate): Same.
(gfc_trans_array_bounds): Same.
(gfc_trans_auto_array_allocation): Same.
(gfc_trans_g77_array): Same.
(gfc_trans_dummy_array_bias): Same.
(gfc_conv_expr_descriptor): Same.
(structure_alloc_comps): Same.
* fortran/trans-expr.c: Same.
* fortran/trans-openmp.c (gfc_omp_clause_default_ctor): Same.
Rename gfc_conv_descriptor_data_set_tuples to
gfc_conv_descriptor_data_set.
(gfc_omp_clause_copy_ctor): Change build_gimple_modify_stmt to
build2_v.
(gfc_omp_clause_assign_op): Same.
(gfc_trans_omp_array_reduction): Rename gfc_add_modify_expr to
gfc_add_modify.
(gfc_trans_omp_atomic): Same.
(gfc_trans_omp_do): Same. Change GIMPLE_MODIFY_STMT to MODIFY_EXPR.
Rename gfc_add_modify_stmt to gfc_add_modify.
* fortran/trans-stmt.c: Rename gfc_add_modify_expr to
gfc_add_modify.
* fortran/trans.c
trans.c: Rename gfc_add_modify_expr to
gfc_add_modify.
(gfc_add_modify): Remove last argument.
Rename GIMPLE_MODIFY_STMT to MODIFY_EXPR.
* fortran/trans.h: Remove gfc_add_modify_expr, gfc_add_modify_stmt.
Add prototype for gfc_add_modify.
* fortran/f95-lang.c (union lang_tree_node): Rename GENERIC_NEXT
to TREE_CHAIN.
* fortran/trans-decl.c: Rename gfc_add_modify_stmt to gfc_add_modify.
* fortran/trans-io.c: Same.
* fortran/trans-intrinsic.c: Same.
Modified:
branches/gimple-tuples-branch/gcc/java/ChangeLog.tuples
branches/gimple-tuples-branch/gcc/java/java-gimplify.c
branches/gimple-tuples-branch/gcc/java/java-tree.h
Changes in other areas also in this revision:
Modified:
branches/gimple-tuples-branch/gcc/ChangeLog.tuples
branches/gimple-tuples-branch/gcc/builtins.c
branches/gimple-tuples-branch/gcc/c-decl.c
branches/gimple-tuples-branch/gcc/c-pretty-print.c
branches/gimple-tuples-branch/gcc/cfgexpand.c
branches/gimple-tuples-branch/gcc/config/i386/i386.c
branches/gimple-tuples-branch/gcc/cp/ChangeLog.tuples
branches/gimple-tuples-branch/gcc/cp/cp-gimplify.c
branches/gimple-tuples-branch/gcc/cp/cp-tree.h
branches/gimple-tuples-branch/gcc/dwarf2out.c
branches/gimple-tuples-branch/gcc/expr.c
branches/gimple-tuples-branch/gcc/fold-const.c
branches/gimple-tuples-branch/gcc/fortran/ChangeLog.tuples
branches/gimple-tuples-branch/gcc/fortran/f95-lang.c
branches/gimple-tuples-branch/gcc/fortran/trans-array.c
branches/gimple-tuples-branch/gcc/fortran/trans-array.h
branches/gimple-tuples-branch/gcc/fortran/trans-decl.c
branches/gimple-tuples-branch/gcc/fortran/trans-expr.c
branches/gimple-tuples-branch/gcc/fortran/trans-intrinsic.c
branches/gimple-tuples-branch/gcc/fortran/trans-io.c
branches/gimple-tuples-branch/gcc/fortran/trans-openmp.c
branches/gimple-tuples-branch/gcc/fortran/trans-stmt.c
branches/gimple-tuples-branch/gcc/fortran/trans.c
branches/gimple-tuples-branch/gcc/fortran/trans.h
branches/gimple-tuples-branch/gcc/function.c
branches/gimple-tuples-branch/gcc/gimple-low.c
branches/gimple-tuples-branch/gcc/gimple.c
branches/gimple-tuples-branch/gcc/gimple.h
branches/gimple-tuples-branch/gcc/gimplify.c
branches/gimple-tuples-branch/gcc/langhooks.c
branches/gimple-tuples-branch/gcc/matrix-reorg.c
branches/gimple-tuples-branch/gcc/omp-low.c
branches/gimple-tuples-branch/gcc/print-tree.c
branches/gimple-tuples-branch/gcc/stmt.c
branches/gimple-tuples-branch/gcc/tree-affine.c
branches/gimple-tuples-branch/gcc/tree-cfg.c
branches/gimple-tuples-branch/gcc/tree-dump.c
branches/gimple-tuples-branch/gcc/tree-eh.c
branches/gimple-tuples-branch/gcc/tree-gimple.c
branches/gimple-tuples-branch/gcc/tree-inline.c
branches/gimple-tuples-branch/gcc/tree-nrv.c
branches/gimple-tuples-branch/gcc/tree-parloops.c
branches/gimple-tuples-branch/gcc/tree-predcom.c
branches/gimple-tuples-branch/gcc/tree-pretty-print.c
branches/gimple-tuples-branch/gcc/tree-scalar-evolution.c
branches/gimple-tuples-branch/gcc/tree-ssa-dse.c
branches/gimple-tuples-branch/gcc/tree-ssa-loop-niter.c
branches/gimple-tuples-branch/gcc/tree-ssa-math-opts.c
branches/gimple-tuples-branch/gcc/tree-ssa-operands.c
branches/gimple-tuples-branch/gcc/tree-ssa-ter.c
branches/gimple-tuples-branch/gcc/tree-ssa.c
branches/gimple-tuples-branch/gcc/tree-tailcall.c
branches/gimple-tuples-branch/gcc/tree.c
branches/gimple-tuples-branch/gcc/tree.def
branches/gimple-tuples-branch/gcc/tree.h
|
|