re PR c++/12883 (destructor of array object not called if no prior instantiation...
authorAdam Nemet <anemet@lnxw.com>
Thu, 27 May 2004 19:08:57 +0000 (19:08 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Thu, 27 May 2004 19:08:57 +0000 (19:08 +0000)
commit81b4398d1e7f594c956213db39cf1b021561ef29
tree2fd6f5b0ff53e9eef59f5bab9d2fc106c512bc17
parent30f1bddcb7217576c4b746ca0e84e50e3684cf78
re PR c++/12883 (destructor of array object not called if no prior instantiation of the template has happened)

PR c++/12883
* decl.c (complete_array_type): Set TYPE_NEEDS_CONSTRUCTING and
TYPE_HAS_NONTRIVIAL_DESTRUCTOR based on the underlying type.

From-SVN: r82333
gcc/cp/ChangeLog
gcc/cp/decl.c