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.