https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61176
--- Comment #4 from Andrew Macleod <amacleod at redhat dot com> --- We have to flatten it before we can fix it... its a complete dependency mess. you could create a plugin-includes.h which includes all the files from the primary globbing files that were flattened (gimple.h and tree.h). Start by copying all the original includes from those 2 files. Then each plugin doesn't have to figure out what it needs... at least until we get back to a reasonable state.