https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67488
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I actually think gcc's diagnostic is clearer; at least from a standard point of view. It is pointing out where the previous definition is located. All it might add is that was in a different scope and that would fix this bug.