[PATCH] gold: conditionalize declaration of conditionally-used field Once::was_run_lock_.

Cary Coutant ccoutant@google.com
Fri Oct 11 20:58:00 GMT 2013


> gold/
>         * gold-threads.h (Once): Conditionalize member was_run_lock_ on
>         [ENABLE_THREADS && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4], matching
>         its only use.
>         * gold-threads.cc (Once::Once): Likewise conditionalize initializer.

This is OK. Thanks.

-cary



More information about the Binutils mailing list