aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2019-06-14 09:22:33 -0400
committerJason Merrill <jason@gcc.gnu.org>2019-06-14 09:22:33 -0400
commit8a26547b39e2e6ddc8097969c0a2c18f65afda6c (patch)
tree87ddd732969e6b4939b31e88abc78bb954b1b796 /gcc/function.c
parente748435795f8c6f3b77fa0ac18a43151a52ad324 (diff)
downloadgcc-8a26547b39e2e6ddc8097969c0a2c18f65afda6c.zip
gcc-8a26547b39e2e6ddc8097969c0a2c18f65afda6c.tar.gz
gcc-8a26547b39e2e6ddc8097969c0a2c18f65afda6c.tar.bz2
PR c++/85552 - wrong instantiation of dtor for DMI.
The problem here is that when processing direct-initialization of a data member, we don't need to worry about destruction semantics; that will be handled in the [cd]tor. Conveniently, we already have tf_no_cleanup from a similar fix to new-expressions. * typeck2.c (digest_nsdmi_init): Set tf_no_cleanup for direct-init. From-SVN: r272287
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions