This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I didn't make the change conditional for C++14 or any other version. Volatile scalars weren't memcpyable anyway, so I thought that this should just apply to all standard versions we support. Tested on Linux-x64. /cp 2014-11-20 Ville Voutilainen <ville.voutilainen@gmail.com> PR c++/63959 * tree.c (trivially_copyable_p): Check for CP_TYPE_VOLATILE_P. /testsuite 2014-11-20 Ville Voutilainen <ville.voutilainen@gmail.com> PR c++/63959 * g++.dg/ext/is_trivially_constructible1.C: Add tests for int and volatile int. ../libstdc++-v3/testsuite/ 2014-11-20 Ville Voutilainen <ville.voutilainen@gmail.com> PR c++/63959 * 20_util/is_trivially_copyable/value.cc: Add test for volatile int.
Attachment:
pr63959.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |