r126849 - in /branches/gimple-tuples-branch/gcc...
aldyh@gcc.gnu.org
aldyh@gcc.gnu.org
Mon Jul 23 15:49:00 GMT 2007
Author: aldyh
Date: Mon Jul 23 15:49:54 2007
New Revision: 126849
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126849
Log:
* testsuite/gcc.dg/gimple/call2.c: New.
* c-decl.c: Include gimple.h.
(c_gimple_diagnostics_recursively): Call c_warn_unused_result with
tuplified body.
Exit if -fgimple-only.
* gimplify.c (gimplify_call_expr): Call gimple_build_call_vec with
the correct callee.
* c-gimplify.c (c_genericize): Remove exit.
* c-common.c: Include gimple.h.
(c_warn_unused_result): Tuplify.
* c-common.h (c_warn_unused_result): Protoize.
* Makefile.in (c-decl.o): Depend on GIMPLE_H.
(c-common.o): Same.
* gimple.c (gimple_build_catch): Handler is a sequence.
Adjust accordingly.
(gimple_build_eh_filter): Failure is a sequence.
Adjust accordingly.
(walk_tuple_ops): case GIMPLE_CATCH: Walk handler as a sequence.
case GIMPLE_EH_FILTER: Walkder failure as a sequence.
* gimple.h (gimple_statement_catch): Make handler a sequence.
(gimple_statement_eh_filter): Make failure a sequence.
(gimple_build_catch): Make second argument a sequence.
(gimple_build_eh_filter): Same.
(gimple_catch_handler): Return a sequence.
(gimple_catch_set_handler): Make second argument a sequence.
(gimple_eh_filter_failure): Return a sequence.
(gimple_eh_filter_set_failture): Make second argument a sequence.
Added:
branches/gimple-tuples-branch/gcc/testsuite/gcc.dg/gimple/call2.c
Modified:
branches/gimple-tuples-branch/gcc/ChangeLog.tuples
branches/gimple-tuples-branch/gcc/Makefile.in
branches/gimple-tuples-branch/gcc/c-common.c
branches/gimple-tuples-branch/gcc/c-common.h
branches/gimple-tuples-branch/gcc/c-decl.c
branches/gimple-tuples-branch/gcc/c-gimplify.c
branches/gimple-tuples-branch/gcc/gimple.c
branches/gimple-tuples-branch/gcc/gimple.h
branches/gimple-tuples-branch/gcc/gimplify.c
More information about the Gcc-cvs
mailing list