This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use -Wno-error=trampolines
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 6 Jan 2015 19:03:52 +0100
- Subject: Re: [PATCH] Use -Wno-error=trampolines
- Authentication-results: sourceware.org; auth=none
- References: <1420323486-25423-1-git-send-email-rth at twiddle dot net>
On Sat, Jan 03, 2015 at 02:18:06PM -0800, Richard Henderson wrote:
> On gentoo, at least with gcc 4.9, -Wtrampolines are enabled by default:
>
> tst-execstack-mod.c: In function âtrymeâ:
> tst-execstack-mod.c:16:8: error: trampoline generated for nested function âcallbackâ [-Werror=trampolines]
> void callback (void) { ok = true; }
> ^
> cc1: all warnings being treated as errors
>
> But of course these testcases require the use of trampolines.
>
> Ok?
>
ok