[Bug c++/64489] A simple struct wrapping a const int is not trivially copyable
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 6 20:45:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64489
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jan 6 20:44:32 2015
New Revision: 219265
URL: https://gcc.gnu.org/viewcvs?rev=219265&root=gcc&view=rev
Log:
PR c++/64489
* class.c (check_field_decls): Make copy assignment operators
complex only in c++98 mode.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/testsuite/g++.dg/ext/is_trivially_constructible1.C
More information about the Gcc-bugs
mailing list