This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch][spu] Don't include middle-end headers in spu-c.c


Hi,

Just don't include what it doesn't need. One more RTL dependency gone
from the front ends.

Tested by building a cross to spu-unknown-elf and verifying that there
are no warnings/errors.
OK for trunk?

Ciao!
Steven


        * config/spu/spu-c.c: Do not include function.h, rtl.h, expr.h,
        insn-config.h, insn-codes.h, recog.h, and optabs.h.

Index: config/spu/spu-c.c
===================================================================
--- config/spu/spu-c.c  (revision 159867)
+++ config/spu/spu-c.c  (working copy)
@@ -22,15 +22,8 @@
 #include "tree.h"
 #include "c-tree.h"
 #include "c-pragma.h"
-#include "function.h"
-#include "rtl.h"
-#include "expr.h"
 #include "tm_p.h"
 #include "langhooks.h"
-#include "insn-config.h"
-#include "insn-codes.h"
-#include "recog.h"
-#include "optabs.h"


 /* Keep the vector keywords handy for fast comparisons.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]