C++: Letting compiler know asm block can call function that can throw?

Eric Botcazou ebotcazou@adacore.com
Thu Mar 29 20:38:00 GMT 2012


> non-call-exceptions is a relatively big hammer.  It marks _all_
> non-trivial instructions as throwing.

The "all" goes against the "relatively" here, and "relatively" is more correct.
Not all non-trivial instructions are marked as throwing, e.g. loads and stores 
from/to the stack aren't.

-- 
Eric Botcazou



More information about the Gcc mailing list