diff options
author | Richard Guenther <rguenther@suse.de> | 2011-11-02 08:46:08 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-11-02 08:46:08 +0000 |
commit | e021c122e50fdf3bc80e630e148b836c358a4dc5 (patch) | |
tree | 4bbfb4884a0e1cb82abe97bd185f21769f02380b /gcc/gimple.h | |
parent | 5743331e9d1e1168cab132e2021cfef4d91c3c0f (diff) | |
download | gcc-e021c122e50fdf3bc80e630e148b836c358a4dc5.zip gcc-e021c122e50fdf3bc80e630e148b836c358a4dc5.tar.gz gcc-e021c122e50fdf3bc80e630e148b836c358a4dc5.tar.bz2 |
re PR middle-end/50890 (ICE in fold_convert_loc, at fold-const.c:1894)
2010-11-02 Richard Guenther <rguenther@suse.de>
PR tree-optimization/50890
* gimple.h (gimple_fold_call): Remove.
* gimple-fold.c (fold_stmt_1): Move all call related code to ...
(gimple_fold_call): ... here. Make static. Update the
cannot-inline flag on direct calls.
* ipa-inline.c (early_inliner): Copy the cannot-inline flag
from the statements to the edges.
* gcc.dg/torture/pr50890.c: New testcase.
From-SVN: r180763
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index 75e19a7..666c44c 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -909,7 +909,6 @@ unsigned get_gimple_rhs_num_ops (enum tree_code); #define gimple_alloc(c, n) gimple_alloc_stat (c, n MEM_STAT_INFO) gimple gimple_alloc_stat (enum gimple_code, unsigned MEM_STAT_DECL); const char *gimple_decl_printable_name (tree, int); -bool gimple_fold_call (gimple_stmt_iterator *gsi, bool inplace); tree gimple_get_virt_method_for_binfo (HOST_WIDE_INT, tree); void gimple_adjust_this_by_delta (gimple_stmt_iterator *, tree); tree gimple_extract_devirt_binfo_from_cst (tree); |