diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-05 22:25:29 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-05 22:25:29 +0000 |
commit | 7deddfded2d013c07a639873a4c90bfed40fd03e (patch) | |
tree | 3df2a52207fec5bec55c28303aa57a8bd9b4e620 /gcc/cgraphunit.c | |
parent | c79b54af83c8031caac515081fb7c56a127b90e3 (diff) | |
download | gcc-7deddfded2d013c07a639873a4c90bfed40fd03e.tar.gz |
2010-11-05 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 166377
2010-11-05 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 166377
* gcc/Makefile.in (MELT_RAW_CFLAGS): removed LIBELFINC
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@166380 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 2abcb67e66a..ed86a029690 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -1411,8 +1411,7 @@ assemble_thunk (struct cgraph_node *node) remove_edge (single_succ_edge (bb)); true_label = gimple_block_label (then_bb); stmt = gimple_build_cond (NE_EXPR, restmp, - fold_convert (TREE_TYPE (restmp), - integer_zero_node), + build_zero_cst (TREE_TYPE (restmp)), NULL_TREE, NULL_TREE); gsi_insert_after (&bsi, stmt, GSI_NEW_STMT); make_edge (bb, then_bb, EDGE_TRUE_VALUE); @@ -1429,8 +1428,8 @@ assemble_thunk (struct cgraph_node *node) { gimple stmt; bsi = gsi_last_bb (else_bb); - stmt = gimple_build_assign (restmp, fold_convert (TREE_TYPE (restmp), - integer_zero_node)); + stmt = gimple_build_assign (restmp, + build_zero_cst (TREE_TYPE (restmp))); gsi_insert_after (&bsi, stmt, GSI_NEW_STMT); bsi = gsi_last_bb (return_bb); } |