2018-11-22 Martin Liska <mliska@suse.cz>
PR sanitizer/88017
* config/i386/i386.c (ix86_option_override_internal):
2018-11-22 Martin Liska <mliska@suse.cz>
PR sanitizer/88017
* gcc.dg/tsan/pr88017.c: New test.
From-SVN: r266368
+2018-11-22 Martin Liska <mliska@suse.cz>
+
+ PR sanitizer/88017
+ * config/i386/i386.c (ix86_option_override_internal):
+
2018-11-21 Uros Bizjak <ubizjak@gmail.com>
Revert the revert:
error ("%<-mabi=ms%> not supported with %<-fsanitize=address%>");
if ((opts->x_flag_sanitize & SANITIZE_KERNEL_ADDRESS) && opts->x_ix86_abi == MS_ABI)
error ("%<-mabi=ms%> not supported with %<-fsanitize=kernel-address%>");
+ if ((opts->x_flag_sanitize & SANITIZE_THREAD) && opts->x_ix86_abi == MS_ABI)
+ error ("%<-mabi=ms%> not supported with %<-fsanitize=thread%>");
/* For targets using ms ABI enable ms-extensions, if not
explicit turned off. For non-ms ABI we turn off this
+2018-11-22 Martin Liska <mliska@suse.cz>
+
+ PR sanitizer/88017
+ * gcc.dg/tsan/pr88017.c: New test.
+
2018-11-21 Jakub Jelinek <jakub@redhat.com>
PR c++/88122
--- /dev/null
+/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
+/* { dg-options "-fsanitize=thread -mabi=ms" } */
+
+int i;
+
+/* { dg-error ".-mabi=ms. not supported with .-fsanitize=thread." "" { target *-*-* } 0 } */