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++/27492] [4.0/4.1/4.2 regression] ICE on invalid covariant return type



------- Comment #7 from simartin at gcc dot gnu dot org  2007-06-27 19:53 -------
Subject: Bug 27492

Author: simartin
Date: Wed Jun 27 19:53:45 2007
New Revision: 126061

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

2007-06-27  Simon Martin  <simartin@users.sourceforge.net>

        PR c++/27492
        * decl.c (duplicate_decls): Don't reset DECL_INVALID_OVERRIDER_P for
        function decls.

gcc/testsuite/

2007-06-27  Simon Martin  <simartin@users.sourceforge.net>

        PR c++/27492
        * g++.dg/inherit/covariant15.C: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/inherit/covariant15.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/decl.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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