[Bug c++/86398] is_trivially_constructible always returns true even when is_constructible returns false
ville at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 4 19:22:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86398
--- Comment #6 from ville at gcc dot gnu.org ---
Author: ville
Date: Wed Jul 4 19:21:38 2018
New Revision: 262420
URL: https://gcc.gnu.org/viewcvs?rev=262420&root=gcc&view=rev
Log:
PR c++/86398
gcc/cp/
PR c++/86398
* method.c (is_trivially_xible): Return false
if is_xible_helper returns a NULL_TREE.
testsuite/
PR c++/86398
* g++.dg/ext/is_trivially_constructible1.C: Add new tests.
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