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++/38701] [4.4 regression] ICE with defaulted function



------- Comment #3 from jason at gcc dot gnu dot org  2009-01-05 17:52 -------
Subject: Bug 38701

Author: jason
Date: Mon Jan  5 17:52:18 2009
New Revision: 143081

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143081
Log:
        PR c++/38701
        * decl.c (cp_finish_decl): Clear DECL_INITIAL for invalid
        defaulting.

        PR c++/38702
        * class.c (defaultable_fn_p): Only operator== can be a copy
        assignment operator.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/defaulted7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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