https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128220
Bug ID: 128220
Summary: genmatch.cc should not emit C++ when bootstrapping
after stage1
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: kaelfandrew at gmail dot com
Target Milestone: ---
genmatch.cc uses GCC's IR for parsing match.pd, for example by include
libcpp/include/cpplib.h and using CPP_HASHNODE to strcmp TREE_TYPE. genmatch
then outputs to C++ in all stages of bootstrap. But genmatch after stage1
should be able to use GCC's IR, skipping outputting *-match.cc and parsing C++.
This should help reduce compile times a lot.