diff options
author | Jason Merrill <jason@redhat.com> | 2018-04-30 11:21:01 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2018-04-30 11:21:01 -0400 |
commit | cdc184174ce56df1fcaf2355d5ecdb47244c2de8 (patch) | |
tree | 9654bf8df2ca4818d260cdca690325cbc05f7405 /gcc/config.gcc | |
parent | 4d20f49036b7a669518aab3ba4cbb062287957da (diff) | |
download | gcc-cdc184174ce56df1fcaf2355d5ecdb47244c2de8.zip gcc-cdc184174ce56df1fcaf2355d5ecdb47244c2de8.tar.gz gcc-cdc184174ce56df1fcaf2355d5ecdb47244c2de8.tar.bz2 |
PR c++/61982 - dead stores to destroyed objects.
gcc/cp/
* call.c (build_trivial_dtor_call): New, assigns a clobber.
(build_over_call, build_special_member_call): Use it.
* cp-tree.h: Declare it.
* init.c (build_delete): Remove trivial path.
gcc/
* gimplify.c (gimplify_modify_expr): Simplify complex lvalue on LHS
of clobber.
From-SVN: r259772
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions