https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107594
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nathaniel Shead <nsh...@gcc.gnu.org>: https://gcc.gnu.org/g:a88e08feb8367898e0562622517d33f95684a03d commit r14-8513-ga88e08feb8367898e0562622517d33f95684a03d Author: Nathaniel Shead <nathanielosh...@gmail.com> Date: Sat Jan 27 22:46:44 2024 +1100 c++: Handle error header names in modules [PR107594] When there are no include paths while preprocessing a header-name token, an empty STRING_CST is returned. This patch ensures this is handled when attempting to create a module for this name. PR c++/107594 gcc/cp/ChangeLog: * module.cc (get_module): Bail on empty name. Signed-off-by: Nathaniel Shead <nathanielosh...@gmail.com>