https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92046
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Oct 15 07:28:26 2019 New Revision: 276985 URL: https://gcc.gnu.org/viewcvs?rev=276985&root=gcc&view=rev Log: 2019-10-15 Richard Biener <rguent...@suse.de> PR middle-end/92046 * common.opt (fallow-store-data-races): New. * params.def (PARAM_ALLOW_STORE_DATA_RACES): Remove. * params.h (ALLOW_STORE_DATA_RACES): Likewise. * doc/invoke.texi (fallow-store-data-races): Document. (--param allow-store-data-races): Remove docs. * opts.c (default_options_table): Enable -fallow-store-data-races at -Ofast. (default_options_optimization): Do not enable --param allow-store-data-races at -Ofast. * tree-if-conv.c (ifcvt_memrefs_wont_trap): Use flag_store_data_races instead of PARAM_ALLOW_STORE_DATA_RACES. * tree-ssa-loop-im.c (execute_sm): Likewise. * c-c++-common/cxxbitfields-3.c: Adjust. * c-c++-common/cxxbitfields-6.c: Likewise. * c-c++-common/simulate-thread/bitfields-1.c: Likewise. * c-c++-common/simulate-thread/bitfields-2.c: Likewise. * c-c++-common/simulate-thread/bitfields-3.c: Likewise. * c-c++-common/simulate-thread/bitfields-4.c: Likewise. * g++.dg/simulate-thread/bitfields-2.C: Likewise. * g++.dg/simulate-thread/bitfields.C: Likewise. * gcc.dg/lto/pr52097_0.c: Likewise. * gcc.dg/simulate-thread/speculative-store-2.c: Likewise. * gcc.dg/simulate-thread/speculative-store-3.c: Likewise. * gcc.dg/simulate-thread/speculative-store-4.c: Likewise. * gcc.dg/simulate-thread/speculative-store.c: Likewise. * gcc.dg/tree-ssa/20050314-1.c: Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/common.opt trunk/gcc/doc/invoke.texi trunk/gcc/opts.c trunk/gcc/params.def trunk/gcc/params.h trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/c-c++-common/cxxbitfields-3.c trunk/gcc/testsuite/c-c++-common/cxxbitfields-6.c trunk/gcc/testsuite/c-c++-common/simulate-thread/bitfields-1.c trunk/gcc/testsuite/c-c++-common/simulate-thread/bitfields-2.c trunk/gcc/testsuite/c-c++-common/simulate-thread/bitfields-3.c trunk/gcc/testsuite/c-c++-common/simulate-thread/bitfields-4.c trunk/gcc/testsuite/g++.dg/simulate-thread/bitfields-2.C trunk/gcc/testsuite/g++.dg/simulate-thread/bitfields.C trunk/gcc/testsuite/gcc.dg/lto/pr52097_0.c trunk/gcc/testsuite/gcc.dg/simulate-thread/speculative-store-2.c trunk/gcc/testsuite/gcc.dg/simulate-thread/speculative-store-3.c trunk/gcc/testsuite/gcc.dg/simulate-thread/speculative-store-4.c trunk/gcc/testsuite/gcc.dg/simulate-thread/speculative-store.c trunk/gcc/testsuite/gcc.dg/tree-ssa/20050314-1.c trunk/gcc/tree-if-conv.c trunk/gcc/tree-ssa-loop-im.c