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
Showing
gcc/testsuite/g++.dg/tree-ssa/empty-3.C
0 → 100644
Please
register
or
sign in
to comment