Do not handled volatile arguments (PR sanitizer/82484).
authorMartin Liska <mliska@suse.cz>
Thu, 1 Mar 2018 14:54:10 +0000 (15:54 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 1 Mar 2018 14:54:10 +0000 (14:54 +0000)
commit99daa7a9eeffa553d3fd3b8dcf6dd721441921c6
treedd317f09ff0a6164957339e698237256ae9c677c
parentb476f5dd5d5aef9b150ad5d71dc46fd0b6207f73
Do not handled volatile arguments (PR sanitizer/82484).

2018-03-01  Martin Liska  <mliska@suse.cz>

PR sanitizer/82484
* sanopt.c (sanitize_rewrite_addressable_params): Do not handle
volatile arguments.
2018-03-01  Martin Liska  <mliska@suse.cz>

PR sanitizer/82484
* gcc.dg/asan/pr82484.c: New test.

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