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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.10.28 23:16:36
   Target Milestone|---                         |4.3.6
            Summary|Error: invalid covariant    |[4.3/4.4/4.5/4.6
                   |return type generated for   |Regression] Error: invalid
                   |incomplete class type and   |covariant return type
                   |different qualifer          |generated for incomplete
                   |                            |class type and different
                   |                            |qualifer
     Ever Confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-28 23:16:36 UTC ---
Confirmed, I don't see why this is a covariant return at all, the difference in
qualifier should not change anything.


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