diff options
author | Jason Merrill <jason@redhat.com> | 2024-01-25 12:02:07 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2024-01-25 15:22:32 -0500 |
commit | 136a828754ff65079a834555582b49d54bd5bc64 (patch) | |
tree | 2a84969850e95d727b6b4d03e9df468d1eb94510 /gcc/cp/module.cc | |
parent | 44868e7298de5048d6f04d7fa098d5bc767c8cb8 (diff) | |
download | gcc-136a828754ff65079a834555582b49d54bd5bc64.zip gcc-136a828754ff65079a834555582b49d54bd5bc64.tar.gz gcc-136a828754ff65079a834555582b49d54bd5bc64.tar.bz2 |
c++: array of PMF [PR113598]
Here AGGREGATE_TYPE_P includes pointers to member functions, which is not
what we want. Instead we should use class||array, as elsewhere in the
function.
PR c++/113598
gcc/cp/ChangeLog:
* init.cc (build_vec_init): Don't use {} for PMF.
gcc/testsuite/ChangeLog:
* g++.dg/cpp0x/initlist-pmf2.C: New test.
Diffstat (limited to 'gcc/cp/module.cc')
0 files changed, 0 insertions, 0 deletions