]> gcc.gnu.org Git - gcc.git/commit - gcc/gimple-fold.c
re PR middle-end/50890 (ICE in fold_convert_loc, at fold-const.c:1894)
authorRichard Guenther <rguenther@suse.de>
Wed, 2 Nov 2011 08:46:08 +0000 (08:46 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 2 Nov 2011 08:46:08 +0000 (08:46 +0000)
commite021c122e50fdf3bc80e630e148b836c358a4dc5
tree4bbfb4884a0e1cb82abe97bd185f21769f02380b
parent5743331e9d1e1168cab132e2021cfef4d91c3c0f
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
gcc/ChangeLog
gcc/gimple-fold.c
gcc/gimple.h
gcc/ipa-inline.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr50890.c [new file with mode: 0644]
This page took 0.059919 seconds and 5 git commands to generate.