]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/19263 (wrong-code: explicit initialization of v8qi miscompiled)
authorJakub Jelinek <jakub@redhat.com>
Fri, 14 Jan 2005 23:51:38 +0000 (00:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 14 Jan 2005 23:51:38 +0000 (00:51 +0100)
commit56521b1856a55d3755257c9396a75c97c84c0ae1
tree0bf10a30be45cb639c1f734a778f6ce6ead05312
parenteb491397c088b3564dc7c9c756e3d5f06a6ccbc6
re PR c++/19263 (wrong-code: explicit initialization of v8qi miscompiled)

PR c++/19263
* typeck2.c (split_nonconstant_init_1) <case VECTOR_TYPE>: Put a copy
of CONSTRUCTOR's node into MODIFY_EXPR, as the original is modified.
Store code to *pcode.

* g++.dg/init/vector1.C: New test.

From-SVN: r93674
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog