]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/24780 (ICE set_mem_attributes_minus_bitpos)
authorJakub Jelinek <jakub@redhat.com>
Sat, 12 Nov 2005 20:44:55 +0000 (21:44 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 12 Nov 2005 20:44:55 +0000 (21:44 +0100)
commit73bebd55f00bd2b0c8e210c2fdd224b3987be7cd
tree13bc40e9b1ccff2a909a478f29817ca5fd118ca1
parentf74dcfb70183a037feaefaa9e6d491249cbafc2f
re PR c++/24780 (ICE set_mem_attributes_minus_bitpos)

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.

From-SVN: r106833
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr24780.C [new file with mode: 0644]