r271435 - in /trunk: gcc/cp/ChangeLog gcc/cp/tr...

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Mon May 20 19:10:00 GMT 2019


Author: mpolacek
Date: Mon May 20 19:10:57 2019
New Revision: 271435

URL: https://gcc.gnu.org/viewcvs?rev=271435&root=gcc&view=rev
Log:
	CWG 2094 - volatile scalars are trivially copyable.
	PR c++/85679
	* tree.c (trivially_copyable_p): Don't check CP_TYPE_VOLATILE_P for
	scalar types.

	* g++.dg/ext/is_trivially_constructible1.C: Change the expected result
	for volatile int.
	* g++.dg/ext/is_trivially_copyable.C: New test.

	* testsuite/20_util/is_trivially_copyable/value.cc: Change the expected
	result for volatile int.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/testsuite/20_util/is_trivially_copyable/value.cc

Changes in other areas also in this revision:
Added:
    trunk/gcc/testsuite/g++.dg/ext/is_trivially_copyable.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ext/is_trivially_constructible1.C



More information about the Libstdc++-cvs mailing list