2014-06-26 Martin Jambor <mjambor@suse.cz>
authorMartin Jambor <mjambor@suse.cz>
Thu, 26 Jun 2014 14:54:59 +0000 (16:54 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Thu, 26 Jun 2014 14:54:59 +0000 (16:54 +0200)
commit680a5a7c025e3a124a81266c173db490948ba3bc
tree004cb921ce0d40fd638fdd30852170ac3fba00d1
parenta5ad7492f88de013afdf2183c96cf1225fb6021e
2014-06-26  Martin Jambor  <mjambor@suse.cz>

* params.def (PARAM_ALLOW_LOAD_DATA_RACES)
(PARAM_ALLOW_PACKED_LOAD_DATA_RACES)
(PARAM_ALLOW_PACKED_STORE_DATA_RACES): Removed.
(PARAM_ALLOW_STORE_DATA_RACES): Set default to zero.
* opts.c (default_options_optimization): Set
PARAM_ALLOW_STORE_DATA_RACES to one at -Ofast.
* doc/invoke.texi (allow-load-data-races)
(allow-packed-load-data-races, allow-packed-store-data-races):
Removed.
(allow-store-data-races): Document the new default.

testsuite/
* g++.dg/simulate-thread/bitfields-2.C: Remove allow-load-data-races
parameter.
* g++.dg/simulate-thread/bitfields.C: Likewise.
* gcc.dg/simulate-thread/strict-align-global.c: Remove
allow-packed-store-data-races parameter.
* gcc.dg/simulate-thread/subfields.c: Likewise.
* gcc.dg/tree-ssa/20050314-1.c: Set parameter allow-store-data-races
to one.

From-SVN: r212034
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/opts.c
gcc/params.def
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/simulate-thread/bitfields-2.C
gcc/testsuite/g++.dg/simulate-thread/bitfields.C
gcc/testsuite/gcc.dg/simulate-thread/strict-align-global.c
gcc/testsuite/gcc.dg/simulate-thread/subfields.c
gcc/testsuite/gcc.dg/tree-ssa/20050314-1.c