https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105610
--- Comment #2 from fsb4000 at yandex dot ru --- >Has anybody ever been confused about the semantics, and expected the >cv-qualifiers to have an effect? Yes. I saw a question on one forum why constness is not taken into account when inheriting and whether there is a compiler bug.