This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Do not handled volatile arguments (PR sanitizer/82484).
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Martin Liška <mliska at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Mar 2018 12:42:25 +0100
- Subject: Re: [PATCH] Do not handled volatile arguments (PR sanitizer/82484).
- Authentication-results: sourceware.org; auth=none
- References: <f7fe621a-56d7-cb12-daf5-47d33b645bcc@suse.cz>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Mar 01, 2018 at 12:37:51PM +0100, Martin Liška wrote:
> 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.
Ok, thanks.
Jakub