This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24780] [4.0/4.1 Regression] ICE set_mem_attributes_minus_bitpos
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Nov 2005 20:45:51 -0000
- Subject: [Bug c++/24780] [4.0/4.1 Regression] ICE set_mem_attributes_minus_bitpos
- References: <bug-24780-11693@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from jakub at gcc dot gnu dot org 2005-11-12 20:45 -------
Subject: Bug 24780
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
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24780