gnu /
gcc /
f5cde0dc2dac7d9f3d9b6773206cfe81ca2bfc32 PR c++/86485 - simple_empty_class_p
Yet another tweak that would have fixed this bug: we should treat INIT_EXPR
and MODIFY_EXPR differently for determining whether this is a simple empty
class copy, since a TARGET_EXPR on the RHS is direct initialization if
INIT_EXPR but copy if MODIFY_EXPR.
* cp-gimplify.c (simple_empty_class_p): Also true for MODIFY_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271521 138bc75d-0d04-0410-961f-82ee72b054a4
2 files changed