This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] libgcc/64885 - libstdc++ all_attributes failure
- From: Jeff Law <law at redhat dot com>
- To: Jonathan Wakely <jwakely at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Feb 2015 14:31:57 -0700
- Subject: Re: [patch] libgcc/64885 - libstdc++ all_attributes failure
- Authentication-results: sourceware.org; auth=none
- References: <20150212154908 dot GW3360 at redhat dot com>
On 02/12/15 08:49, Jonathan Wakely wrote:
This changes __attribute__((unused)) to __attribute__((__unused__)) in
three gthr-*.h headers. As Jakub pointed out at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64885#c7 there are still
lots of other problems in these headers, but they have been there for
years and can wait for stage 1. This fixes the FAIL of the new
libstdc++ test I added recently.
Tested x86_64-linux, with --enable-threads / --disable-threads.
OK for trunk?
patch.txt
commit 68720ddd0a1c69a86dd97681667aebd5dffe3b32
Author: Jonathan Wakely<jwakely@redhat.com>
Date: Sat Jan 31 20:58:12 2015 +0000
PR libgcc/64885
* gthr-single.h: Use __unused__ attribute instead of unused.
* config/gthr-vxworks.h: Likewise.
* config/i386/gthr-win32.h: Likewise.
Sorry, with the libstdc++ in the subject line, I deleted it assuming it
was something you'd take care of :-0
Approved. Sorry for the delay.
jeff