http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44978
--- Comment #7 from janus at gcc dot gnu.org --- (In reply to janus from comment #5) > The following draft patch does exactly this and gets the error count down to > one for comment 1 and down to two for comment 1 and 4: The remaining duplication in comment 4 should be fixed by the patch in PR 51945 comment 4. For comment 1, there should also be a way to get rid of it (however, one technical problem there is that 'resolve_symbol' does not have a return value to report its success or failure).