Hi,
The test-case plugin/ggcplug.c was failing due to flattening of tree.h
and tree-core.h.
Test-case was incorrect because it included gcc-plugin.h after tree.h whereas
gcc-plugin.h should be the first header to be included by plugins.
OK to commit ?

Thank you,
Prathamesh
Index: gcc/testsuite/gcc.dg/plugin/ggcplug.c
===================================================================
--- gcc/testsuite/gcc.dg/plugin/ggcplug.c       (revision 219429)
+++ gcc/testsuite/gcc.dg/plugin/ggcplug.c       (working copy)
@@ -1,12 +1,12 @@
 /* This plugin tests the GGC related plugin events.  */
 /* { dg-options "-O" } */
 
+#include "gcc-plugin.h"
 #include "config.h"
 #include "system.h"
 #include "coretypes.h"
 #include "tm.h"
 #include "tree.h"
-#include "gcc-plugin.h"
 #include "toplev.h"
 #include "basic-block.h"
 #include "hash-table.h"
2015-01-11  Prathamesh Kulkarni  <prathamesh.kulka...@linaro.org>

testsuite/
        * gcc.dg/plugin/ggcplug.c: Include gcc-plugin.h before other headers. 
        

Reply via email to