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++/46220] [4.3/4.4/4.5/4.6 Regression] Error: invalid covariant return type generated for incomplete class type and different qualifer


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-04 15:18:03 UTC ---
Author: jason
Date: Fri Mar  4 15:17:55 2011
New Revision: 170676

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170676
Log:
    PR c++/46220
    * search.c (check_final_overrider): Allow pointer to same incomplete
    class type with different cv-quals.

Added:
    trunk/gcc/testsuite/g++.dg/inherit/covariant19.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/search.c
    trunk/gcc/testsuite/ChangeLog


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