This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, libstdc++]: Avoid "libsupc++/guard.cc:118:18: warning: variable â__pâ set but not used" warning


Hello!

2015-07-01  Uros Bizjak  <ubizjak@gmail.com>

    * libsupc++/guard.cc (__test_and_acquire): Use __p after __atomic_load
    to avoid unused variable warning.
    (__set_and_release): Use __p after __atomic_store to avoid unused
    variable warning.

Bootstrapped and regression tested on x86_64-linux-gnu.

OK for mainline?

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]