[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:46:00 GMT 2005
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-14 23:46 -------
Subject: Bug 19263
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jakub@gcc.gnu.org 2005-01-14 23:45:59
Modified files:
gcc/cp : ChangeLog typeck2.c
gcc/testsuite : ChangeLog
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.
* g++.dg/init/vector1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4575&r2=1.4576
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck2.c.diff?cvsroot=gcc&r1=1.180&r2=1.181
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4886&r2=1.4887
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/vector1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19263
More information about the Gcc-bugs
mailing list