GCC: any way to disable -fstack-usage for a specific function?

597 views Asked by At

I bet there is something like #pragma .. "-fno-stack-usage" or something. Basically what I get is an error like this:

error: stack usage computation not supported for this target [-Werror]

I don't want to disable -fstack-usage globally. I have also tried to do #pragma GCC diagnostics ignored "-Werror" with no effect.

0

There are 0 answers