https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57470
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So in GCC 10+ we produce: <source>: In instantiation of 'struct S<char>': <source>:11:9: required from here <source>:8:32: error: incomplete type 'Incomplete<char>' used in nested name specifier 8 | static_assert(Incomplete<T>::value, ""); | ^~~~~ I think that is at least the right line number but still the wrong caret.