On Tue, Oct 25, 2016 at 02:16:33PM +0200, Martin Liška wrote:
> 2016-10-25  Martin Liska  <mli...@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  <mli...@suse.cz>
> 
>       PR sanitizer/78106
>       * gcc.dg/asan/pr78106.c: New test.

The test is UNRESOLVED with -flto, fixed thusly, regtested on x86_64-linux,
committed to trunk as obvious:

2016-10-25  Jakub Jelinek  <ja...@redhat.com>

        PR sanitizer/78106
        * gcc.dg/asan/pr78106.c: Add -ffat-lto-objects to dg-options.

--- gcc/testsuite/gcc.dg/asan/pr78106.c.jj      2016-10-25 20:06:45.000000000 
+0200
+++ gcc/testsuite/gcc.dg/asan/pr78106.c 2016-10-25 22:08:09.712879270 +0200
@@ -1,6 +1,6 @@
 /* PR sanitizer/78106 */
 /* { dg-do compile } */
-/* { dg-options "-fsanitize=address -fdump-tree-sanopt-details" } */
+/* { dg-options "-fsanitize=address -fdump-tree-sanopt-details 
-ffat-lto-objects" } */
 
 int *variable;
 

        Jakub

Reply via email to