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]: Make unwind_emit hook NULL by default


On 07/06/2010 01:24 PM, Kai Tietz wrote:
> Hello,
> 
> this patch is a small clean-up patch for the unwind_emit hook.
> 
> ChangeLog
> 
> 2010-07-06  Kai Tietz
> 
>         * final.c (final_scan_insn): Replace
>         TARGET_UNWIND_INFO macro check by unwind_emit
>         hook NULL check.
>         * targhooks.c (default_unwind_emit): Removed.
>         * targhooks.h (default_unwind_emit): Likewise.
>         * target.def (unwind_emit): Set default value to NULL.
> 
> Tested for i686-pc-cygwin, x86_64-pc-mingw32, and i686-pc-linux-gnu.
> Ok for apply?

Ok.

For the benefit of the list, there are still other uses of TARGET_UNWIND_INFO
that want cleaning up, a couple of which are ia64-specific.  I agreed that we
could address these incrementally.


r~


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