summaryrefslogtreecommitdiff
path: root/gcc/ada/inline.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/inline.adb')
-rw-r--r--gcc/ada/inline.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/inline.adb b/gcc/ada/inline.adb
index 01f8ff1ccff..c3947ed2efd 100644
--- a/gcc/ada/inline.adb
+++ b/gcc/ada/inline.adb
@@ -295,6 +295,7 @@ package body Inline is
and then Is_Inlined (Scop)
then
Add_Call (E, Scop);
+
if Inline_Level = 1 then
return Inline_Call;
else