This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] C++ space optimization: omit EH info for thunks
- From: Jason Merrill <jason at redhat dot com>
- To: Stuart Hastings <stuart at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 16 Aug 2002 18:39:17 +0100
- Subject: Re: [PATCH] C++ space optimization: omit EH info for thunks
- References: <C30CECD6-B13C-11D6-BBE3-003065ED8B66@apple.com>
On Fri, 16 Aug 2002 10:22:38 -0700, Stuart Hastings <stuart@apple.com> wrote:
> * gcc/gcc/function.h Add 'all_throwers_are_sibcalls' to cfun.
> * gcc/gcc/except.c (nothrow_function_p) Set it.
> * gcc/gcc/dwarf2out.c Add 'all_throwers_are_sibcalls' to FDE.
> (output_call_frame_info) Test it.
> (dwarf2out_begin_prologue) Propagate it from cfun to FDE.
If you're going to change nothrow_function_p to set a new flag in cfun, it
should set both flags directly rather than set one directly and return the
other. As a result, it should probably be renamed; perhaps to
"set_nothrow_function_flags".
Jason