]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/51331 (bad code generated when explicitly calling auto-generated constructo...
authorJason Merrill <jason@redhat.com>
Fri, 16 Dec 2011 22:59:27 +0000 (17:59 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 16 Dec 2011 22:59:27 +0000 (17:59 -0500)
commit78a8ed44d721a70e1fcebc72da9a9fec138a2fa1
tree1139445897d047a19c277e75d42ff5f863db308d
parent9d8c673ff0ac34d22e62317859079349a5eb9391
re PR c++/51331 (bad code generated when explicitly calling auto-generated constructor of virtual base)

PR c++/51331
* class.c (convert_to_base_statically): Just call
build_simple_base_path.
(build_simple_base_path): Check field offset.

From-SVN: r182418
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/value10.C [new file with mode: 0644]