summaryrefslogtreecommitdiffstats
path: root/gcc/ada/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/utils.c')
-rw-r--r--gcc/ada/utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c
index 27825595885..4668fa21c36 100644
--- a/gcc/ada/utils.c
+++ b/gcc/ada/utils.c
@@ -2217,8 +2217,7 @@ end_subprog_body (tree body)
/* Deal with inline. If declared inline or we should default to inline,
set the flag in the decl. */
- DECL_INLINE (fndecl)
- = DECL_DECLARED_INLINE_P (fndecl) || flag_inline_trees == 2;
+ DECL_INLINE (fndecl) = 1;
/* We handle pending sizes via the elaboration of types, so we don't
need to save them. */
OpenPOWER on IntegriCloud