This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug plugins/61176] [4.9/4.10 Regression] plugin builds including gimple.h not building
- From: "doko at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 May 2014 08:51:39 +0000
- Subject: [Bug plugins/61176] [4.9/4.10 Regression] plugin builds including gimple.h not building
- Auto-submitted: auto-generated
- References: <bug-61176-4 at http dot gcc dot gnu dot org/bugzilla/>
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.