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 #4 from jason at gcc dot gnu dot org  2009-01-05 17:52 -------
Subject: Bug 38701

Author: jason
Date: Mon Jan  5 17:52:35 2009
New Revision: 143082

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143082
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.

Modified:
    trunk/gcc/cp/cp-tree.h


-- 


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]