This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r106834 - in /branches/gcc-4_0-branch/gcc: cp/C...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 12 Nov 2005 20:45:48 -0000
- Subject: r106834 - in /branches/gcc-4_0-branch/gcc: cp/C...
Author: jakub
Date: Sat Nov 12 20:45:47 2005
New Revision: 106834
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106834
Log:
PR c++/24780
* typeck.c (complete_type): Set TYPE_NEEDS_CONSTRUCTING
and TYPE_HAS_NONTRIVIAL_DESTRUCTOR flags for all variants
of array type.
* g++.dg/opt/pr24780.C: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/opt/pr24780.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/typeck.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog