[Bug c++/19263] [3.4/4.0 regression]: wrong-code: explicit initialization of v8qi miscompiled
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 14 23:52:00 GMT 2005
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-14 23:51 -------
Subject: Bug 19263
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: jakub@gcc.gnu.org 2005-01-14 23:51:39
Modified files:
gcc/testsuite : ChangeLog
gcc/cp : ChangeLog typeck2.c
Added files:
gcc/testsuite/g++.dg/init: vector1.C
Log message:
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.343&r2=1.3389.2.344
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.189&r2=1.3892.2.190
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.153.4.4&r2=1.153.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/vector1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19263
More information about the Gcc-bugs
mailing list