[Bug regression/78069] [7 Regression] -fprofile-update=atomic warning
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 14 12:11:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78069
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Nov 14 12:09:48 2016
New Revision: 242386
URL: https://gcc.gnu.org/viewcvs?rev=242386&root=gcc&view=rev
Log:
Introduce -fprofile-update=prefer-atomic
PR bootstrap/78069
* common.opt: Add prefer-atomic as a new enum value for
-fprofile-update.
* coretypes.h: Likewise.
* doc/invoke.texi: Document the new option value.
* gcc.c: Replace atomic with prefer-atomic. Remove warning.
* tree-profile.c (tree_profiling): Select default value
of -fprofile-update when 'prefer-atomic' is selected.
PR bootstrap/78069
* gcc.dg/no_profile_instrument_function-attr-1.c: Update test
to match scanned pattern.
* gcc.dg/tree-ssa/ssa-lim-11.c: Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/common.opt
trunk/gcc/coretypes.h
trunk/gcc/doc/invoke.texi
trunk/gcc/gcc.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-11.c
trunk/gcc/tree-profile.c
More information about the Gcc-bugs
mailing list