https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77466

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Sep  6 14:13:21 2016
New Revision: 240008

URL: https://gcc.gnu.org/viewcvs?rev=240008&root=gcc&view=rev
Log:
Detect whether target can use -fprofile-update=atomic

        PR gcov-profile/77378
        PR gcov-profile/77466
        * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
        conditionaly enable/disable *_atomic functions.
        PR gcov-profile/77378
        PR gcov-profile/77466
        * tree-profile.c (tree_profiling): Detect whether target can use
        -fprofile-update=atomic.
        PR gcov-profile/77378
        PR gcov-profile/77466
        * gcc.dg/profile-update-warning.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/profile-update-warning.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-profile.c
    trunk/libgcc/ChangeLog
    trunk/libgcc/libgcov-profiler.c

Reply via email to