2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
+ * tsan.c (instrument_expr): corrected previous checkin.
+
+2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
Instrument bit field and unaligned accesses for TSAN.
* sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
(BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
gimple_set_location (g, loc);
gimple_seq_add_stmt_without_update (&seq, g);
}
- if ((size & (size - 1)) == 0 || size > 16
+ if ((size & (size - 1)) != 0 || size > 16
|| align < MIN (size, 8) * BITS_PER_UNIT)
{
builtin_decl = builtin_decl_implicit (is_write