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++/42061] [4.4/4.5 Regression] [c++0x] ICE with invalid initializer list for reference



------- Comment #2 from jakub at gcc dot gnu dot org  2009-11-17 07:01 -------
Subject: Bug 42061

Author: jakub
Date: Tue Nov 17 07:01:18 2009
New Revision: 154238

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154238
Log:
        PR c++/42061
        * call.c (reference_binding): Return NULL for initializer list with
        error operand inside of it.

        * g++.dg/cpp0x/initlist27.C: New test.

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


-- 


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


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