Fix not caught use-after-scope with -O1 (PR sanitize/78106)
PR sanitizer/78106 * sanopt.c (imm_dom_path_with_freeing_call): Handle gasm statements as they can also contain possibly a freeing call. PR sanitizer/78106 * gcc.dg/asan/pr78106.c: New test. From-SVN: r241511
Showing
gcc/testsuite/gcc.dg/asan/pr78106.c
0 → 100644
Please
register
or
sign in
to comment