diff options
author | Jason Merrill <jason@redhat.com> | 2019-05-22 17:39:08 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-05-22 17:39:08 -0400 |
commit | c652ff83124334837dc16626f9e1040e4fe41fc9 (patch) | |
tree | da16d1ea2a867756a78e819cf1274de329d6c07b /gcc/gimplify.c | |
parent | 52ea1caf28cdcdff8c9b2be844e3f1be6c369f16 (diff) | |
download | gcc-c652ff83124334837dc16626f9e1040e4fe41fc9.zip gcc-c652ff83124334837dc16626f9e1040e4fe41fc9.tar.gz gcc-c652ff83124334837dc16626f9e1040e4fe41fc9.tar.bz2 |
PR c++/20408 - unnecessary code for empty struct.
Here initializing the argument from a TARGET_EXPR isn't an empty class
copy even though the type is !TREE_ADDRESSABLE, so we should check
simple_empty_class_p.
* call.c (build_call_a): Use simple_empty_class_p.
From-SVN: r271523
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions