[PATCH] Do not handled volatile arguments (PR sanitizer/82484).
Martin Liška
mliska@suse.cz
Thu Mar 1 11:37:00 GMT 2018
Hi.
This is a bit forgotten patch. It handles volatile arguments, which should
not be attempted copied into a function local variable.
Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
Ready to be installed?
Martin
gcc/ChangeLog:
2017-10-11 Martin Liska <mliska@suse.cz>
PR sanitizer/82484
* sanopt.c (sanitize_rewrite_addressable_params): Do not handle
volatile arguments.
gcc/testsuite/ChangeLog:
2017-10-11 Martin Liska <mliska@suse.cz>
PR sanitizer/82484
* gcc.dg/asan/pr82484.c: New test.
---
gcc/sanopt.c | 4 +++-
gcc/testsuite/gcc.dg/asan/pr82484.c | 5 +++++
2 files changed, 8 insertions(+), 1 deletion(-)
create mode 100644 gcc/testsuite/gcc.dg/asan/pr82484.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-handled-volatile-arguments-PR-sanitizer-82484.patch
Type: text/x-patch
Size: 853 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180301/9f9b4dcb/attachment.bin>
More information about the Gcc-patches
mailing list