aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.spec.in
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2022-01-08 01:18:51 -0500
committerJason Merrill <jason@redhat.com>2022-01-08 01:18:51 -0500
commit787d66eb6c53094161fb86e64ddf65f21389f63d (patch)
tree7e9fa4f40f884b818f89864583763b36dbe873e7 /libgfortran/libgfortran.spec.in
parent75047f795111150fd10a8f86f5c72deab10cde77 (diff)
downloadgcc-787d66eb6c53094161fb86e64ddf65f21389f63d.zip
gcc-787d66eb6c53094161fb86e64ddf65f21389f63d.tar.gz
gcc-787d66eb6c53094161fb86e64ddf65f21389f63d.tar.bz2
c++: default mem-init of array [PR103946]
In the patch for PR92385 I added asserts to see if we tried to make a vec_init of a vec_init, but didn't see any in regression testing. This testcase is one case, which seems reasonable: we create a VEC_INIT_EXPR for the aggregate initializer, and then again to express the actual initialization of the member. We already do similar collapsing of TARGET_EXPR. So let's just remove the asserts. PR c++/103946 gcc/cp/ChangeLog: * init.c (build_vec_init): Remove assert. * tree.c (build_vec_init_expr): Likewise. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/nsdmi-array1.C: New test.
Diffstat (limited to 'libgfortran/libgfortran.spec.in')
0 files changed, 0 insertions, 0 deletions