On Mon, Aug 27, 2018 at 03:00:18PM +0200, Martin Liška wrote: > Hello. > > In case of nested functions it may happen that we end up > with a PARAM_DECL with DECL_HAS_VALUE_EXPR_P. If would > skip these. > > Patch can bootstrap on ppc64le-redhat-linux and survives regression tests. > > Ready to be installed? > Martin > > gcc/ChangeLog: > > 2018-08-16 Martin Liska <mli...@suse.cz> > > PR sanitizer/86962 > * sanopt.c (sanitize_rewrite_addressable_params): Ignore > params with DECL_HAS_VALUE_EXPR_P. > > gcc/testsuite/ChangeLog: > > 2018-08-16 Martin Liska <mli...@suse.cz> > > PR sanitizer/86962 > * gcc.dg/asan/pr86962.c: New test.
Ok, but watch for the spaces in the ChangeLog entry. Jakub