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<jwak...@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

Reply via email to