[Bug c++/27491] [4.1/4.2 regression] ICE on variable initialization
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 17 08:45:00 GMT 2006
------- Comment #5 from jakub at gcc dot gnu dot org 2006-05-17 08:44 -------
Subject: Bug 27491
Author: jakub
Date: Wed May 17 08:44:36 2006
New Revision: 113848
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113848
Log:
PR c++/27491
* semantics.c (finish_compound_literal): Only set TREE_HAS_CONSTRUCTOR
on CONSTRUCTORs.
* g++.dg/init/brace5.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/init/brace5.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/semantics.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27491
More information about the Gcc-bugs
mailing list