diff options
author | Adam Nemet <anemet@caviumnetworks.com> | 2009-03-12 01:02:16 +0000 |
---|---|---|
committer | Adam Nemet <nemet@gcc.gnu.org> | 2009-03-12 01:02:16 +0000 |
commit | 498e51cabb8bd8e5d002f10685c6387e0ae0baba (patch) | |
tree | 1b47ef70630256dac3ac46b20459068a5d179587 /gcc/gimplify.c | |
parent | 22571318a95195f936faa0d99c6ac0587623dfb3 (diff) | |
download | gcc-498e51cabb8bd8e5d002f10685c6387e0ae0baba.zip gcc-498e51cabb8bd8e5d002f10685c6387e0ae0baba.tar.gz gcc-498e51cabb8bd8e5d002f10685c6387e0ae0baba.tar.bz2 |
gimplify.c (gimplify_call_expr): Don't set CALL_CANNOT_INLINE_P for functions for which the parameter types are...
* gimplify.c (gimplify_call_expr): Don't set CALL_CANNOT_INLINE_P
for functions for which the parameter types are unknown.
testsuite/
* gcc.dg/inline-33.c: New test.
From-SVN: r144801
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index b0c6592..8ed4263 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -2355,11 +2355,7 @@ gimplify_call_expr (tree *expr_p, gimple_seq *pre_p, bool want_value) else if (parms) p = parms; else - { - if (nargs != 0) - CALL_CANNOT_INLINE_P (*expr_p) = 1; - p = NULL_TREE; - } + p = NULL_TREE; for (i = 0; i < nargs && p; i++, p = TREE_CHAIN (p)) ; |