2022-11-28 01:24 AM
2022-11-29 04:23 AM
The underlying compiler is gcc, so check the docs https://gcc.gnu.org/onlinedocs/gcc/Function-Specific-Option-Pragmas.html.
Basically, something like
#pragma GCC push_options
#pragma GCC optimize ("O0")
void my_function() {
...
}
#pragma GCC pop_options
will do the trick
hth
KnarfB
2022-11-29 04:23 AM
The underlying compiler is gcc, so check the docs https://gcc.gnu.org/onlinedocs/gcc/Function-Specific-Option-Pragmas.html.
Basically, something like
#pragma GCC push_options
#pragma GCC optimize ("O0")
void my_function() {
...
}
#pragma GCC pop_options
will do the trick
hth
KnarfB
2022-11-29 10:39 AM
Thanks a lot