re PR c++/27491 (ICE on variable initialization)
authorJakub Jelinek <jakub@redhat.com>
Wed, 17 May 2006 08:42:47 +0000 (10:42 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 17 May 2006 08:42:47 +0000 (10:42 +0200)
commitaa0e52dbd5a20acf70b8f5f2ffa407cdfcb9f737
tree4e1059003fcc11ced87eaea21db27730e1747465
parent761041be912de3a0344a507dbb718a49a9c19434
re PR c++/27491 (ICE on variable initialization)

PR c++/27491
* semantics.c (finish_compound_literal): Only set TREE_HAS_CONSTRUCTOR
on CONSTRUCTORs.

* g++.dg/init/brace5.C: New test.

From-SVN: r113847
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/brace5.C [new file with mode: 0644]