https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121709
--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>: https://gcc.gnu.org/g:8ab3bbadefb7f61086dec3da982059779f7cff51 commit r16-3467-g8ab3bbadefb7f61086dec3da982059779f7cff51 Author: Gaius Mulley <gaiusm...@gmail.com> Date: Fri Aug 29 22:10:29 2025 +0100 PR modula2/121709: Failed bootstrap in m2 This patch is a followup to PR modula2/121629 which uses the cpp_include_defaults array to configure the default search path entries. In particular it creates default search paths based on LOCAL_INCLUDE_DIR, PREFIX_INCLUDE_DIR, gcc version path and NATIVE_SYSTEM_HEADER_DIR. gcc/m2/ChangeLog: PR modula2/121709 * gm2-lang.cc (concat_component): New function. (find_cpp_entry): Ditto. (lookup_cpp_default): Ditto. (add_default_include_paths): Rewrite. (m2_pathname_root): Remove. gcc/ChangeLog: PR modula2/121709 * doc/gm2.texi (Module Search Path): Reflect the new search order. Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>