Patchwork [m32c] Remove unnecessary includes from m32c-pragma.c

login
register
mail settings
Submitter Steven Bosscher
Date June 20, 2012, 9:57 a.m.
Message ID <CABu31nOCxCFjwOfvHHxePUgFHMTRUozYM3Mzjf6p62upv0__Fw@mail.gmail.com>
Download mbox | patch
Permalink /patch/165974/
State New
Headers show

Comments

Steven Bosscher - June 20, 2012, 9:57 a.m.
Hello,

m32c-pragma.c doesn't need the includes that the patch below removes.

Tested with a cross from powerpc64-unknown-linux-gnu to m32c-elf.
Will commit as obvious unless someone objects.

Ciao!
Steven

        * config/m32c/m32c-pragma.c: Remove unnecessary includes.

Patch

Index: config/m32c/m32c-pragma.c
===================================================================
--- config/m32c/m32c-pragma.c   (revision 188820)
+++ config/m32c/m32c-pragma.c   (working copy)
@@ -27,13 +27,7 @@ 
 #include "c-family/c-common.h"
 #include "diagnostic-core.h"
 #include "cpplib.h"
-#include "hard-reg-set.h"
-#include "output.h"
 #include "m32c-protos.h"
-#include "function.h"
-#define MAX_RECOG_OPERANDS 10
-#include "reload.h"
-#include "target.h"

 /* Implements the "GCC memregs" pragma.  This pragma takes only an
    integer, and is semantically identical to the -memregs= command