Commit 4eb8b0d1 authored by Ian Henriksen's avatar Ian Henriksen

Make sure boolean coercions and function calls are allocated as

temporaries when they have an exception declaration.
parent 90ef404d
......@@ -4897,6 +4897,8 @@ class SimpleCallNode(CallNode):
else:
self.args = [ arg.analyse_types(env) for arg in self.args ]
self.analyse_c_function_call(env)
if func_type.exception_check == '+':
self.is_temp = True
return self
def function_type(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment