diff options
author | Jason Merrill <jason@redhat.com> | 2022-12-14 17:42:52 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-12-15 00:26:13 -0500 |
commit | 4ef521bbc63f8a3883d507a8b6c1f95f442df3fe (patch) | |
tree | 83306869a166ea795ca55b4d6944dce955803c04 /gcc/gcov.cc | |
parent | 26f4aefaebc056acacc2a842f5b092ed9e671ef0 (diff) | |
download | gcc-4ef521bbc63f8a3883d507a8b6c1f95f442df3fe.zip gcc-4ef521bbc63f8a3883d507a8b6c1f95f442df3fe.tar.gz gcc-4ef521bbc63f8a3883d507a8b6c1f95f442df3fe.tar.bz2 |
c++: fix initializer_list transformation [PR108071]
In these testcases, we weren't adequately verifying that constructing the
element type from an array element would have the same effect as
constructing it from one of the initializers.
PR c++/108071
PR c++/105838
gcc/cp/ChangeLog:
* call.cc (struct conversion_obstack_sentinel): New.
(maybe_init_list_as_array): Compare conversion of dummy argument.
gcc/testsuite/ChangeLog:
* g++.dg/cpp0x/initlist131.C: New test.
* g++.dg/cpp0x/initlist132.C: New test.
* g++.dg/cpp0x/initlist133.C: New test.
Diffstat (limited to 'gcc/gcov.cc')
0 files changed, 0 insertions, 0 deletions