re PR c++/64489 (A simple struct wrapping a const int is not trivially copyable)
authorVille Voutilainen <ville.voutilainen@gmail.com>
Tue, 6 Jan 2015 20:44:32 +0000 (22:44 +0200)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 6 Jan 2015 20:44:32 +0000 (15:44 -0500)
commit864822bd8880db5e75398a2e409dccb7545418ef
treea13a58d2c9f4194eb423925bafcc02a58f365f02
parent512ef949392e2dbcc9d4e76b855da765c68db371
re PR c++/64489 (A simple struct wrapping a const int is not trivially copyable)

PR c++/64489
* class.c (check_field_decls): Make copy assignment operators
complex only in c++98 mode.

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