[Bug c++/80682] __is_trivially_constructible(void, int) returns true.
ville at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 11 07:46:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80682
--- Comment #3 from ville at gcc dot gnu.org ---
Author: ville
Date: Thu May 11 07:44:29 2017
New Revision: 247880
URL: https://gcc.gnu.org/viewcvs?rev=247880&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/method.c
trunk/gcc/testsuite/g++.dg/ext/is_trivially_constructible1.C
More information about the Gcc-bugs
mailing list