[PATCH] Fix not caught use-after-scope with -O1 (PR sanitize/78106)

Jakub Jelinek jakub@redhat.com
Tue Oct 25 13:41:00 GMT 2016


On Tue, Oct 25, 2016 at 02:16:33PM +0200, Martin Liška wrote:
> 2016-10-25  Martin Liska  <mliska@suse.cz>
> 
> 	PR sanitizer/78106
> 	* sanopt.c (imm_dom_path_with_freeing_call): Handle gasm
> 	statements as they can also contain possibly a freeing call.
> 
> gcc/testsuite/ChangeLog:
> 
> 2016-10-25  Martin Liska  <mliska@suse.cz>
> 
> 	PR sanitizer/78106
> 	* gcc.dg/asan/pr78106.c: New test.

Ok, thanks.

	Jakub



More information about the Gcc-patches mailing list