https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108111
--- Comment #3 from Marc Poulhiès <dkm at gcc dot gnu.org> --- Thanks Jonathan for the suggestion. The lexer code still need some refactor because the Source type (2nd template argument to buffered_queue) is expected to have a next() method and is used with both a InputSource& and a TokenSource. I have a local patch but still need to use clang to check the fix first :)