This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/45315] [4.4/4.5/4.6 Regression] ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317



------- Comment #6 from jason at gcc dot gnu dot org  2010-08-23 06:40 -------
Subject: Bug 45315

Author: jason
Date: Mon Aug 23 06:39:42 2010
New Revision: 163466

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163466
Log:
        PR c++/45315
        * init.c (build_new_1): Don't use build_value_init in a template.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/init/value8.C
Modified:
    branches/gcc-4_5-branch/gcc/cp/ChangeLog
    branches/gcc-4_5-branch/gcc/cp/init.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45315


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]