aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/debug.adb
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2021-09-30 17:34:23 -0400
committerPatrick Palka <ppalka@redhat.com>2021-09-30 17:34:23 -0400
commit9845c52db38f15740861435f38f7e5ad8a8de2ec (patch)
tree7845891b80d9b122a5f01a8e5fb89073cf6acaae /gcc/ada/debug.adb
parentfdf8d5bc5b52bd733037dbeeff442c59f8aa765b (diff)
downloadgcc-9845c52db38f15740861435f38f7e5ad8a8de2ec.zip
gcc-9845c52db38f15740861435f38f7e5ad8a8de2ec.tar.gz
gcc-9845c52db38f15740861435f38f7e5ad8a8de2ec.tar.bz2
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.
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions