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++/21210] [4.0/4.1 Regression] Trouble with __complex__ types default construction



------- Comment #10 from sayle at gcc dot gnu dot org  2006-06-13 18:06 -------
Subject: Bug 21210

Author: sayle
Date: Tue Jun 13 18:06:00 2006
New Revision: 114618

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114618
Log:

        PR c++/21210
        * typeck2.c (build_functional_cast): Use cp_convert to construct
        non-aggregate initializers instead of the user-level build_c_cast.

        * g++.dg/init/complex1.C: New test case.


Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/init/complex1.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/typeck2.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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