This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [COMMITTED PATCH] Silence a missing-noreturn warning for _Unwind_Resume.
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Fri, 09 May 2014 19:50:24 +0200
- Subject: Re: [COMMITTED PATCH] Silence a missing-noreturn warning for _Unwind_Resume.
- Authentication-results: sourceware.org; auth=none
- References: <20140509170647 dot 9E9772C39EF at topped-with-meat dot com>
Roland McGrath <roland@hack.frob.com> writes:
> @@ -48,7 +50,7 @@ _Unwind_Resume (struct _Unwind_Exception *exc)
> {
> if (__glibc_unlikely (libgcc_s_resume == NULL))
> init ();
> - libgcc_s_resume (exc);
> + (*libgcc_s_resume) (exc);
> }
>
> _Unwind_Reason_Code
> @@ -59,6 +61,6 @@ __gcc_personality_v0 (int version, _Unwind_Action actions,
> {
> if (__glibc_unlikely (libgcc_s_personality == NULL))
> init ();
> - return libgcc_s_personality (version, actions, exception_class,
> - ue_header, context);
> + return (*libgcc_s_personality) (version, actions, exception_class,
> + ue_header, context);
> }
Why do you need this part?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."