2017-07-17 Martin Liska <mliska@suse.cz>
PR sanitizer/81302
* opts.c (finish_options): Do not allow -fgnu-tm
w/ -fsanitize={kernel-,}address. Say sorry.
From-SVN: r250271
+2017-07-17 Martin Liska <mliska@suse.cz>
+
+ PR sanitizer/81302
+ * opts.c (finish_options): Do not allow -fgnu-tm
+ w/ -fsanitize={kernel-,}address. Say sorry.
+
2017-07-17 Bin Cheng <bin.cheng@arm.com>
PR target/81369
opts->x_flag_stack_reuse = SR_NONE;
}
+
+ if ((opts->x_flag_sanitize & SANITIZE_USER_ADDRESS) && opts->x_flag_tm)
+ sorry ("transactional memory is not supported with %<-fsanitize=address%>");
+
+ if ((opts->x_flag_sanitize & SANITIZE_KERNEL_ADDRESS) && opts->x_flag_tm)
+ sorry ("transactional memory is not supported with "
+ "%<-fsanitize=kernel-address%>");
}
#define LEFT_COLUMN 27