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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>:

https://gcc.gnu.org/g:9845c52db38f15740861435f38f7e5ad8a8de2ec

commit r12-3997-g9845c52db38f15740861435f38f7e5ad8a8de2ec
Author: Patrick Palka <ppa...@redhat.com>
Date:   Thu Sep 30 17:34:23 2021 -0400

    c++: __is_trivially_xible and multi-arg aggr paren init [PR102535]

    is_xible_helper assumes only 0- and 1-argument ctors can be trivial, but
    C++20 aggregate paren init means multi-arg ctors can now be trivial too.
    This patch relaxes the relevant early exit check accordingly.

            PR c++/102535

    gcc/cp/ChangeLog:

            * method.c (is_xible_helper): Don't exit early for multi-arg
            ctors in C++20.

    gcc/testsuite/ChangeLog:

            * g++.dg/ext/is_trivially_constructible7.C: New test.

Reply via email to