This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r132223 - in /branches/gimple-tuples-branch/gcc...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 10 Feb 2008 23:47:13 -0000
- Subject: r132223 - in /branches/gimple-tuples-branch/gcc...
Author: dnovillo
Date: Sun Feb 10 23:47:12 2008
New Revision: 132223
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132223
Log:
http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00330.html
* gimple.def (GIMPLE_CHANGE_DYNAMIC_TYPE): New.
* gimple-low.c (lower_stmt): Handle it.
* gsstruct.def (GSS_CHANGE_DYNAMIC_TYPE): New.
* gimple-pretty-print.c (dump_gimple_cdt): New.
(dump_gimple_stmt): Call it when handling
GIMPLE_CHANGE_DYNAMIC_TYPE.
* gimplify.c (gimplify_expr): Call gimple_build_cdt.
* gimple.c (gss_for_code): Handle
GIMPLE_CHANGE_DYNAMIC_TYPE.
(gimple_size): Likewise.
(gimple_build_cdt): New.
(walk_gimple_stmt): Handle GIMPLE_CHANGE_DYNAMIC_TYPE.
* gimple.h (struct gimple_statement_change_dynamic_type): New.
(union gimple_statement_d): Add field gimple_change_dynamic_type.
(gimple_build_cdt): Declare.
(gimple_cdt_new_type): New.
(gimple_cdt_new_type_ptr): New.
(gimple_cdt_set_new_type): New.
(gimple_cdt_location): New.
(gimple_cdt_location_ptr): New.
(gimple_cdt_set_location): New.
* tree-ssa-operands.c (get_expr_operands): Do not handle
CHANGE_DYNAMIC_TYPE_EXPR.
Modified:
branches/gimple-tuples-branch/gcc/gimple-low.c
branches/gimple-tuples-branch/gcc/gimple-pretty-print.c
branches/gimple-tuples-branch/gcc/gimple.c
branches/gimple-tuples-branch/gcc/gimple.def
branches/gimple-tuples-branch/gcc/gimple.h
branches/gimple-tuples-branch/gcc/gimplify.c
branches/gimple-tuples-branch/gcc/gsstruct.def
branches/gimple-tuples-branch/gcc/tree-ssa-operands.c