http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50890
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-11-02 08:46:12 UTC --- Author: rguenth Date: Wed Nov 2 08:46:08 2011 New Revision: 180763 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180763 Log: 2010-11-02 Richard Guenther <rguent...@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. Added: trunk/gcc/testsuite/gcc.dg/torture/pr50890.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-fold.c trunk/gcc/gimple.h trunk/gcc/ipa-inline.c trunk/gcc/testsuite/ChangeLog