]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/init.cc
re PR c++/51331 (bad code generated when explicitly calling auto-generated constructo...
authorJason Merrill <jason@redhat.com>
Fri, 16 Dec 2011 22:34:39 +0000 (17:34 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 16 Dec 2011 22:34:39 +0000 (17:34 -0500)
commita8c1d899971e1b0c026b3f23fa27c5a041385655
treea9e029ece57782eaabad6a6b34f5784f8dd04736
parent20fb2c13c16829dc0246631d95281de92a65e35e
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: r182414
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]