re PR c++/80682 (__is_trivially_constructible(void, int) returns true.)
authorVille Voutilainen <ville.voutilainen@gmail.com>
Thu, 11 May 2017 07:44:29 +0000 (10:44 +0300)
committerVille Voutilainen <ville@gcc.gnu.org>
Thu, 11 May 2017 07:44:29 +0000 (10:44 +0300)
commite81c832812e5432cb849146ca44ed64727e672af
tree6c77901b461b80f24c5249e7339a954fcba37791
parent687aed9cc8c53b7833df9c62912292c17fdbc97f
re PR c++/80682 (__is_trivially_constructible(void, int) returns true.)

PR c++/80682

cp/

PR c++/80682
* method.c (is_trivially_xible): Reject void types.

testsuite/

PR c++/80682
* g++.dg/ext/is_trivially_constructible1.C: Add tests for void target.

From-SVN: r247880
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/g++.dg/ext/is_trivially_constructible1.C