This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Functions that always return
- To: rth at cygnus dot com
- Subject: Re: Functions that always return
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Sun, 29 Oct 00 12:13:16 EST
- Cc: gcc at gcc dot gnu dot org
At least for C++ we don't mark functions constant if they can
raise exceptions. And there are no stack checks to worry about.
Why not? On Alpha, for example, stack checking is part of the ABI.
Is a constant functgion allowed to call other functions?