aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/openmp.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2022-05-13 16:07:10 -0400
committerJason Merrill <jason@redhat.com>2022-05-15 05:45:06 -0400
commitce46d6041358052dfa26f3720732f0357c5d72e7 (patch)
tree3e504b37d2f73d199cf1624a9ddf8daf0a761f13 /gcc/fortran/openmp.cc
parentc5397682aff4ae9ced15ddc74971b9b6e218b664 (diff)
downloadgcc-ce46d6041358052dfa26f3720732f0357c5d72e7.zip
gcc-ce46d6041358052dfa26f3720732f0357c5d72e7.tar.gz
gcc-ce46d6041358052dfa26f3720732f0357c5d72e7.tar.bz2
c++: array {}-init [PR105589]
My patch for 105191 made us use build_value_init more frequently from build_vec_init_expr, but build_value_init doesn't like to be called to initialize a class in a template. That's caused trouble in the past, and seems like a strange restriction, so let's fix it. PR c++/105589 PR c++/105191 PR c++/92385 gcc/cp/ChangeLog: * init.cc (build_value_init): Handle class in template. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/initlist-array16.C: New test.
Diffstat (limited to 'gcc/fortran/openmp.cc')
0 files changed, 0 insertions, 0 deletions