diff options
author | Jason Merrill <jason@redhat.com> | 2019-05-22 15:48:05 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-05-22 15:48:05 -0400 |
commit | 7d277e1796e2a54dd3bb0aea1793a2e0e5b45962 (patch) | |
tree | 78bd6f4e7e1c3b93623514457ae06f3560791354 /gcc/json.h | |
parent | 9ee0fb4c276cc0281ce180917c1bd20600ae7e09 (diff) | |
download | gcc-7d277e1796e2a54dd3bb0aea1793a2e0e5b45962.zip gcc-7d277e1796e2a54dd3bb0aea1793a2e0e5b45962.tar.gz gcc-7d277e1796e2a54dd3bb0aea1793a2e0e5b45962.tar.bz2 |
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.
From-SVN: r271521
Diffstat (limited to 'gcc/json.h')
0 files changed, 0 insertions, 0 deletions