aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r--gcc/gimple.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c
index 62f172b..ac75365 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -2538,6 +2538,9 @@ nonfreeing_call_p (gimple call)
default:
return true;
}
+ else if (gimple_call_internal_p (call)
+ && gimple_call_flags (call) & ECF_LEAF)
+ return true;
return false;
}