https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120172
Bug ID: 120172 Summary: Preprocessor error leads to cascading failures in standard header instantiations Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mario.rodriguezb1 at um dot es Target Milestone: --- The compiler emits a massive cascade of errors and internal failures due to an incomplete or malformed #include directive. A missing file name after #include leads not only to a preprocessing error but triggers downstream parsing and template instantiation errors in <chrono> and <ratio>, potentially due to incomplete preprocessed input. ``` #include <cstddef> #include <cwchar> #include <atomic> #include <chrono> #include <condition_variable> #include <functional> ``` Compiler return code 143, after showing an unexpected behaviour, to quicly reproduce: https://gcc.godbolt.org/z/hahjc117x