summaryrefslogtreecommitdiff
path: root/libgfortran/aclocal.m4
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-22 20:53:40 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-22 20:53:40 +0000
commitbc7a14a684649da880a222a5e6ba61606a9d1a40 (patch)
treee6caff86555ce9f9639013c3cd82b4c469828776 /libgfortran/aclocal.m4
parenta4396bdc0df44c58fa333e8352c3298ddae8fe62 (diff)
downloadgcc-bc7a14a684649da880a222a5e6ba61606a9d1a40.tar.gz
* cgraphunit.c (cgraph_estimate_size_after_inlining): Compute
call cost based on argument sizes. (cgraph_mark_inline_edge): Avoid inline unit from shringking by inlining. * params.def: (max-inline-inssn-single): Set to 450. (max-inline-insns-auto): Set to 90. (max-inline-insns-recursive): Set to 450 (max-inline-insns-recursive-auto): Set to 450. (large-function-insns): Set to 2700. (inline-call-cost): New parameter. * tree-inline.c (estimate_move_cost): New function. (estimate_num_insns_1): Compute move sizes costs by estimate_move_cost for non-gimple-regs, set cost to 0 for gimple-regs. Compute call size based on arguments. * tree-inline.h (estimate_move_cost): Declare. * invoke.texi: (max-inline-inssn-single): Change default to 450. (max-inline-insns-auto): Change default to 90. (max-inline-insns-recursive): Change default to 450 (max-inline-insns-recursive-auto): Change default to 450. (large-function-insns): Change default to 2700. (inline-call-cost): Document new parameter. * gcc.dg/winline-6.c: Modify so inlined function have nonzero cost. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96892 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/aclocal.m4')
0 files changed, 0 insertions, 0 deletions