https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100763
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:27e906d5bb2e46e59fe4aa137317f3c8d49ecb44 commit r12-1099-g27e906d5bb2e46e59fe4aa137317f3c8d49ecb44 Author: Matthias Kretz <kr...@kde.org> Date: Thu May 27 17:30:34 2021 +0200 c++: Add missing scope in typedef diagnostic [PR100763] dump_type on 'const std::string' should not print 'const string' unless TFF_UNQUALIFIED_NAME is requested. gcc/cp/ChangeLog: PR c++/100763 * error.c: Call dump_scope when printing a typedef.