This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] C++ space optimization: omit EH info for thunks


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]