+2017-10-11 Martin Liska <mliska@suse.cz>
+
+ Revert r253637:
+
+ PR sanitizer/82484
+ * sanopt.c (sanitize_rewrite_addressable_params): Do not handle
+ volatile arguments.
+
2017-10-11 Martin Liska <mliska@suse.cz>
PR sanitizer/82484
arg; arg = DECL_CHAIN (arg))
{
tree type = TREE_TYPE (arg);
- if (TREE_ADDRESSABLE (arg)
- && !TREE_ADDRESSABLE (type)
- && !TREE_THIS_VOLATILE (arg)
+ if (TREE_ADDRESSABLE (arg) && !TREE_ADDRESSABLE (type)
&& TREE_CODE (TYPE_SIZE (type)) == INTEGER_CST)
{
TREE_ADDRESSABLE (arg) = 0;