[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization

2004-10-31 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-10-31 19:02 --- Working on a fix. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu

[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization

2004-10-31 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-01 00:02 --- Subject: Bug 15172 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-3_4-branch Changes by: [EMAIL PROTECTED] 2004-11-01 00:02:25 Modified files: gcc/cp :

[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization

2004-10-31 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-01 00:07 --- Subject: Bug 15172 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-11-01 00:07:10 Modified files: gcc/cp : ChangeLog typeck2.c

[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization

2004-10-31 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-11-01 00:14 --- Fixed in GCC 3.4.3. -- What|Removed |Added Status|ASSIGNED

[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization

2004-10-30 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-10-31 01:58 --- The problem here is that expand_expr_real creates a temporary variable and stores the CONSTRCUTOR corresponding to the brace-enclosed initializer there. Then, it copies the temporary to the global

[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization

2004-10-29 Thread TazForEver at dlfp dot org
--- Additional Comments From TazForEver at dlfp dot org 2004-10-29 15:15 --- and ppc32 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15172

[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization

2004-10-27 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-10-27 17:59 --- Reproducible on x86 too. -- What|Removed |Added CC|ebotcazou at gcc dot

[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization

2004-10-26 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-10-26 08:30 --- Is this problem specific to SPARC? If no, I'd suggest to change the triplets. -- What|Removed |Added

[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization

2004-10-17 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2004-10-17 11:21 --- There is a recent posting to comp.lang.c++.moderated about the same problem, with the subject Bitwise copy during aggregate initialization (a compiler bug?). ... which is here: http://tinyurl.com/4hpdn

[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization

2004-10-16 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2004-10-16 23:34 --- The reason, btw, why I believe that this is wrong code is that the this pointer of the object being constructed can escape, like here: extern C int printf (const char

[Bug c++/15172] [3.3/3.4 regression] Copy constructor optimization in aggregate initialization

2004-10-16 Thread acehreli at yahoo dot com
--- Additional Comments From acehreli at yahoo dot com 2004-10-17 01:01 --- We've seen the problem in 2.95.3 and 3.4.2. There is a recent posting to comp.lang.c++.moderated about the same problem, with the subject Bitwise copy during aggregate initialization (a compiler bug?). Ali