https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91383
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> --- > "may fail to compile" we don't have to remove them, keeping them is actually on purpose so it is easier for users to have access to new features without breaking the old ones. What we could do is use the deprecated attribute a bit more (you can use -Werror=deprecated-declarations), or possibly have some non-default flag to disable deprecated code.