-
- Downloads
re PR c++/34949 (Dead code in empty destructors.)
PR c++/34949 * tree-cfg.c (verify_gimple_assign_single): Allow lhs of gimple_clobber_p to be MEM_REF. * gimplify.c (gimplify_modify_expr): Gimplify *to_p of an assignment from TREE_CLOBBER_P. Allow it to be MEM_REF after gimplification. * asan.c (get_mem_ref_of_assignment): Don't instrument gimple_clobber_p stmts. * tree-ssa-dse.c (dse_optimize_stmt): Allow DSE of gimple_clobber_p stmt if they have MEM_REF lhs and are dead because of another gimple_clobber_p stmt. * tree-ssa-live.c (clear_unused_block_pointer): Treat gimple_clobber_p stmts like debug stmts. (remove_unused_locals): Remove clobbers with MEM_REF lhs that refer to unused VAR_DECLs or uninitialized values. * tree-sra.c (sra_ipa_reset_debug_stmts): Also remove gimple_clobber_p stmts if they refer to removed parameters. (get_repl_default_def_ssa_name, sra_ipa_modify_expr): Fix up formatting. From-SVN: r197369
Showing
- gcc/ChangeLog 22 additions, 0 deletionsgcc/ChangeLog
- gcc/asan.c 2 additions, 1 deletiongcc/asan.c
- gcc/gimplify.c 6 additions, 1 deletiongcc/gimplify.c
- gcc/tree-cfg.c 2 additions, 2 deletionsgcc/tree-cfg.c
- gcc/tree-sra.c 12 additions, 4 deletionsgcc/tree-sra.c
- gcc/tree-ssa-dse.c 10 additions, 1 deletiongcc/tree-ssa-dse.c
- gcc/tree-ssa-live.c 12 additions, 4 deletionsgcc/tree-ssa-live.c
Loading
Please register or sign in to comment