https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105187

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:d9421784980276b42ecdce85b6dde28e965c88c6

commit r12-8034-gd9421784980276b42ecdce85b6dde28e965c88c6
Author: Jason Merrill <ja...@redhat.com>
Date:   Wed Apr 6 20:04:21 2022 -0400

    c++: vector compound literal [PR105187]

    My cleanup in r12-296 cleared TREE_HAS_CONSTRUCTOR on digested class
    initializers, but we leave it set for vectors, since we can't wrap them in
    TARGET_EXPR.

            PR c++/105187

    gcc/cp/ChangeLog:

            * typeck2.cc (store_init_value): Allow TREE_HAS_CONSTRUCTOR for
            vectors.

    gcc/testsuite/ChangeLog:

            * gcc.c-torture/compile/20050113-1.c: Moved to...
            * c-c++-common/torture/20050113-1.c: ...here.

Reply via email to