This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [testcase] Simplified testcases why current gcc trunk cannot compile glibc
- To: Roland McGrath <roland at gnu dot org>
- Subject: Re: [testcase] Simplified testcases why current gcc trunk cannot compile glibc
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 15 Oct 2001 13:28:52 -0700
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com, libc-alpha at sources dot redhat dot com
- References: <20011015125746.C9037@redhat.com> <20011015200622.3ADE69951B@perdition.linnaean.org>
On Mon, Oct 15, 2001 at 04:06:22PM -0400, Roland McGrath wrote:
> It is existing practice to use `__attribute__((unused))' on functions
> defined in header files to suppress the warnings, with the expectation that
> they will be optimized out rather than become dead code.
It's hard to believe this, since it wouldn't happen like
this without -O3.
r~