https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121386
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There has definitely improvements to flex in this area too: e.g. https://github.com/westes/flex/commit/5574881ff4c9b08c73b6acc0087d6046c2b48de5 and https://github.com/westes/flex/commit/8ab4ea7364641bf498ea2fc8c1078b9f871ae0ba