Message248568
GCC has a pragma and function attributes for changing the optimisation flags, that could be used to disable the tail call optimazation here.
Something like the following (using a pragma):
#pragma GCC push_options
#pragma GCC optimize ("-fno-optimize-sibling-calls")
<functions go here>
#pragma GCC pop_options
Note: completely untested, and would need preprocessor guards to avoid warnings with some other compilers. |
|
Date |
User |
Action |
Args |
2015-08-14 08:43:01 | ronaldoussoren | set | recipients:
+ ronaldoussoren, pitrou, vstinner, Paul Murphy |
2015-08-14 08:43:01 | ronaldoussoren | set | messageid: <1439541781.77.0.289429956622.issue24851@psf.upfronthosting.co.za> |
2015-08-14 08:43:01 | ronaldoussoren | link | issue24851 messages |
2015-08-14 08:43:01 | ronaldoussoren | create | |
|