Functions that always return
Michael Hayes
mhayes@redhat.com
Sat Oct 28 17:57:00 GMT 2000
Mike Stump writes:
> You can never know if anything returns. Almost all functions are
> permitted to longjmp, call exit or loop infinitely, because of this,
> you can't know that they return.
I should have been more explicit; I was thinking in terms of libcalls
or functions explicitly marked pure or const. In particular,
the shadowing of a mem by a register across a libcall.
> As a group, we need to stop using the phrase expcetion to mean a
> signaling event and only use the word to mean things related to the
> file except.c. I'd propose raise a signal, fault or interrupt.
How about trap? I think this is the more common synonym for a
processor exception and is also used in the sources.
We should have some docs on this and for REG_EH_REGION (this is not
documented in rtl.texi).
Michael.
More information about the Gcc
mailing list