diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-23 07:43:21 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-23 07:43:21 +0000 |
commit | b64311263afb0341bc5cc019230b6d5f6d1b185a (patch) | |
tree | 8a64183917aa821491a290388a2d847ef5f31dc6 /gcc/c-typeck.c | |
parent | d7c19af34733348ff30e9c8d1b11695aa079150c (diff) | |
download | ppe42-gcc-b64311263afb0341bc5cc019230b6d5f6d1b185a.tar.gz ppe42-gcc-b64311263afb0341bc5cc019230b6d5f6d1b185a.zip |
* c-gimplify.c (gimplify_decl_stmt): Update gimplify_type_sizes call.
Use gimplify_and_add.
* c-typeck.c (c_finish_if_stmt): Use NULL instead of empty stmt.
* gimplify.c (build_and_jump, gimplify_exit_expr,
gimplify_init_constructor, gimplify_save_expr, gimple_push_cleanup,
gimplify_stmt, gimplify_expr): Likewise.
(shortcut_cond_expr): Handle NULL arms of COND_EXPR.
(gimplify_statement_list): Remove NULL entries.
(gimplify_to_stmt_list): Handle NULL results.
(gimplify_type_sizes): Add list_p argument.
(gimplify_one_sizepos): Don't use internal pre/post queue.
* tree-gimple.h (gimplify_type_sizes): Update.
ada/
* trans.c (gnat_gimplify_stmt): Update gimplify_type_sizes call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-typeck.c')
-rw-r--r-- | gcc/c-typeck.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index beef504d362..a2daf3277e9 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -6570,9 +6570,6 @@ c_finish_if_stmt (int stmt_count) { if_elt *elt = &if_stack[--if_stack_pointer]; - if (COND_EXPR_ELSE (elt->if_stmt) == NULL) - COND_EXPR_ELSE (elt->if_stmt) = build_empty_stmt (); - if (elt->needs_warning) warning ("%Hsuggest explicit braces to avoid ambiguous `else'", EXPR_LOCUS (elt->if_stmt)); |