]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/67557
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Oct 2015 07:58:43 +0000 (07:58 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Oct 2015 07:58:43 +0000 (07:58 +0000)
commitab48ece0923ded0cbd089ce31d1b3d26c239bc4e
tree4b583f1035c03ad2ebaa0d9fcea61f20f3086f54
parentb5f3ba2abffe26ee15d3a6a1f511166f8b4571eb
PR c++/67557

* expr.c (store_field): Call store_constructor directly when
storing a CONSTRUCTOR into a target smaller than its type.
Guard against unsafe bitwise copy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228704 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/g++.dg/init/vbase1.C