re PR sanitizer/59306 (ICE with -fsanitize=null: gimple check: expected…
re PR sanitizer/59306 (ICE with -fsanitize=null: gimple check: expected gimple_call(error_mark), have gimple_assign(addr_expr) in gimple_call_arg) PR sanitizer/59306 * ubsan.c (instrument_null): Use gimple_store_p/gimple_assign_load_p instead of walk_gimple_op. (ubsan_pass): Adjust. Call instrument_null only if SANITIZE_NULL. testsuite/ * g++.dg/ubsan/pr59306.C: New test. From-SVN: r205443
Showing
gcc/testsuite/g++.dg/ubsan/pr59306.C
0 → 100644
Please
register
or
sign in
to comment