Do not handled volatile arguments (PR sanitizer/82484).
authorMartin Liska <mliska@suse.cz>
Wed, 11 Oct 2017 12:24:44 +0000 (14:24 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 11 Oct 2017 12:24:44 +0000 (12:24 +0000)
commit78188a05d0f423b99edee82bce01fdad35e3c37b
treecf7c92fcc36ad279fc0ece33e0d86f20f30ac500
parentb1a651a25a4345c59604d8e50714b22742001afc
Do not handled volatile arguments (PR sanitizer/82484).

2017-10-11  Martin Liska  <mliska@suse.cz>

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
* gcc.dg/asan/pr82484.c: New test.

From-SVN: r253637
gcc/ChangeLog
gcc/sanopt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asan/pr82484.c [new file with mode: 0644]