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++/49216] [C++0x][Regression] ICE on compiling new-expression with braced-init-list for arrays


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-21 02:24:20 UTC ---
Author: jason
Date: Tue Jun 21 02:24:17 2011
New Revision: 175237

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175237
Log:
    PR c++/49216
    * init.c (build_vec_init): Don't try to use a CONSTRUCTOR when
    base is a pointer.
    * typeck2.c (process_init_constructor_array): Use {} for classes,
    too.
    * call.c (convert_like_real): Handle substitution failure.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist53.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/init.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog


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