https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65834
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Severity|normal |enhancement --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Maybe someone might want to put something else after TEST. I think both are correct to warn. clang error location might be more useful in some cases but wrong in others. Likewise the way GCC is correct for some cases but wrong for others. The biggest question is which happens more often in real life. I don't have any thoughts on that one.