https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61176
--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> --- is this about stability? With trying, you find out that the following will work: #include <gcc-plugin.h> #include <tree.h> #include <function.h> #include <basic-block.h> #include <coretypes.h> #include <is-a.h> #include <predict.h> #include <internal-fn.h> #include <tree-ssa-alias.h> #include <gimple-expr.h> #include <gimple.h> int main(void) { return 0; } is there any way to find out all the needed includes? Telling plugin writers to hard-code all of this doesn't seem like a viable solution.