https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67488
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Incorrect error message on |Improve diagnostic on call |call of nested functions |of declared function in a | |different scope --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note the error is not incorrect, clang is wrong in not rejecting the code but that is a different story.