diff options
author | Jason Merrill <jason@redhat.com> | 2019-04-12 12:25:59 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-04-12 12:25:59 -0400 |
commit | 3d8695f529a41a639c6cc2a51cbcec7c8b243bc1 (patch) | |
tree | 11dd1e42b504792ecf05b7fcc542b4d3d9c3d619 /gcc/doc | |
parent | 76416d899cb6d26088a9cd22da5a23914fec2ce6 (diff) | |
download | gcc-3d8695f529a41a639c6cc2a51cbcec7c8b243bc1.zip gcc-3d8695f529a41a639c6cc2a51cbcec7c8b243bc1.tar.gz gcc-3d8695f529a41a639c6cc2a51cbcec7c8b243bc1.tar.bz2 |
Avoid ICE on pmf{} in template.
Now that we return the original CONSTRUCTOR from finish_compound_literal,
the call to null_member_pointer_value_p in tsubst_copy_and_build was getting
confused because the CONSTRUCTOR was still empty rather than a valid PMF
value.
* call.c (null_member_pointer_value_p): Handle an empty CONSTRUCTOR
of PMF type.
From-SVN: r270324
Diffstat (limited to 'gcc/doc')
0 files changed, 0 insertions, 0 deletions