pr81111.C
684 Bytes
-
re PR sanitizer/81111 (Cannot build libstdc++ with -fsanitize=undefined) · 4301ae22
PR sanitizer/81111 * ubsan.c (ubsan_encode_value): If current_function_decl is NULL, use create_tmp_var_raw instead of create_tmp_var, mark it addressable just by setting TREE_ADDRESSABLE on the result and use a TARGET_EXPR. * g++.dg/ubsan/pr81111.C: New test. From-SVN: r249375
Jakub Jelinek committed